How can I connect to my database externally from another pc on the network?

Hi all

I just install 12 c on my Oracle Linux box and I am able to connect locally to the database, as intended. Now, what would be the first step to connect to my external database from another computer on the network. By example, if the database server is 10.0.0.150 and I want to connect to 10.0.0.151 how can I make this happen? If necessary here are a few references:

-bash-4, $ 2 cat listener.ora

listener.ora # Network Configuration file: /ora01/app/oracle/product/12.1.0/db_1/network/admin/listener.ora

# Generated by Oracle configuration tools.

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = oranode1.dba.com) (PORT = 1521))

(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

)

)

-bash-4, $ 2 cat tnsnames.ora

tnsnames.ora # Network Configuration file: /ora01/app/oracle/product/12.1.0/db_1/network/admin/tnsnames.ora

# Generated by Oracle configuration tools.

ANTHONYDB =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = oranode1.dba.com) (PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = anthonydb)

)

)

-bash-4, $ 2 cat/etc/hosts

127.0.0.1 oranode1 oranode1.dba.com localhost4 localhost4.localdomain4

: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

10.0.0.150 oranode1.dba.com oranode1

Let me know if you need any information. Currently, I am not able to connect to my database using the IP and port (10.0.0.150, 1521) of my 10.0.0.151 pc. Thank you all for your help in advance.

Hello EdStevens,

I tried to use the SID with SID = anthonydb and I got the same error message. I believe that we must resolve before listener troubleshoot us this error...  If we look at the file of the listener:

[oracle@oranode1 admin] $ cat listener.ora

listener.ora # Network Configuration file: /ora01/app/oracle/product/12.1.0/db_1/network/admin/listener.ora

# Generated by Oracle configuration tools.

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = oranode1.dba.com) (PORT = 1521))

)

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.150)(PORT = 1521))

)

)

ADR_BASE_LISTENER = / ora01/app/oracle

I have two entries, and I think that I should remove the last entry:

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.150)(PORT = 1521))

)

I created a backup of the file listener and I'm going to give it a shot.

Tags: Database

Similar Questions

  • How can I connect sequence of database file version number?

    Hello

    As in the subject.

    How can I connect sequence of database file version number?

    Nothing like that under the purpose of registration.

    Here's how I did it:
    Configure-> results of treatment-> database-> schemas tab Options
    Copy + paste together generic Record
    Under the new scheme opened UUT_RESULT
    Add a new column - varchar type
    Set the value of Log as RunState.Caller.SequenceFile.Data.Version

  • How can I transfer all my applications paid on another device via the cloud? When I downloaded the cloud a few apps says 'install', while others said 'try' even if I already bought it.

    How can I transfer all my applications paid on another device through the creative cloud? I have them on both my computer a laptop in the past, but the clouds of my computer wiped when I had to get it fixed and lost all applications. When I went to reinstall some applications say 'install' and some said to 'try', even if I've already paid for them. Please help, I need these applications to the school.

    Hello

    Please refer to the threads creative software says cloud my free trial has expired, but I have a paid subscription

    Or you can see the steps from here: https://helpx.adobe.com/manage-account-membership/cc-reverts-to-trial.html

    Let us know if this worked for you!

  • How can I connect my Ipad Air to my PC to see the screen of the Ipad on the PC?

    How can I connect my Ipad Air to my PC (Windows Explorer V8) to see the screen of the Ipad on the PC?

    I have them connected via the PC to a LIGHTNING DIGITAL AV ADAPTER-ZML connected to an APPLE to HDMI HDMI CABLE (1.8 M) - ZML and HDMI on the PC port. But now I don't know how to view the screen of the Ipad on the PC, as if it were a monitor / screen, so that I can then use Lync and share my PC screen with people virtually.

    Thanks for any help! Cordially Sophia

    Hi Sophia,

    Use Air Display to turn your iPad, iPhone or iPod touch into a wireless for your computer screen.

    You can check this link for more information.

    I hope this helps. Let us know if you have additional questions on this issue or any problem related to Windows.

  • How can I connect to my webserver VM from the outside?

    I'm sure that there is an easy solution for this, but I searched without success.

    I run a Web server on FreeBSD in Fusion, and my Mac uses DHCP (static address can come in time).

    My VM (fusion 2.0.1) is connected through NAT, I also use my Mac as a local server for testing, but only to listen on 127.0.0.1

    Here's my question simply:

    My FreeBSD runs Apache and is set up to serve the site (example.com, say) and DNS settings are all up to date. (I know that the BSD Web server works fine because I can connect from Safari using the merger IP address directly).

    Now if from the outside (you, for example), type http://example.com/ in your browser, connect to my Mac via port 80 and Apache on my Mac will attempt to server web page. But what I really want, it's demand to go on the virtual machine without going through the Mac. (In analogies, there is a setting that allows some ports go 'on' the virtual machine, but merging doesn't seem to have it - I promise to change the merger, because it works best with FreeBSD).

    So in short:

    How to configure my machine Virtual Port 80, rather than the Mac doing listening to?

    MacGruder says:

    So in short: How do I set up my VM to Port 80, rather than the Mac doing listening to?

    I introduce it more as a proof of concept, then a full step by step guide because there are many variables and you did not really a complete topology of your local network and other relevant information to be explicit and accurate on a total scope of the project.

    Good on my MBP without Apache running in OS X and a Virtual Machine of defined merger on NAT with Apache running on the client, I modified the nat.conf and reset the VMware network and was able to directly access Web Server of the customer from another physical Machine on my local network.

    OS X host IP address: 192.168.1.100

    Merge comments NAT IP address: 172.16.172.128

    Another physical Machine on the LAN IP address: 192.168.1.3

    Named Fusion comments: webtest

    Installed the Apache server in comments and editing the web page by default so you can be sure I look what I expect to be looking at and not the host content of the Apache server.

    Stop and closed Fusion comments

    Edited "/ Library/Application Support/VMware Fusion/vmnet8/nat.conf" and added 80 = 172.16.172.128:80

    Restarted network VMware with: sudo "/ Library/Application Support/VMware Fusion/boot.sh"-restart

    Open fusion and began comments

    Editing another physical Machine on the LAN hosts file to add: 192.168.1.100 webtest webtest.com www.webtest.com

    Browser open on another physical Machine on LAN and typed http://www.webtest.com

    Now, I'm looking at the modified Apache file index.html.en default server prompt so it allows me to know that I can access a Web server on the Guest NATed through the Port 80 of the host of another system other then the host.

    Notes:

    Personal firewall should of course be properly defined to allow connectivity between the systems.

    If you what the outside world can then access if your host doesn't have a static IP address, then you will need to use a form any Dynamic DNS on the host computer.

    It is in any case just to let you know it is possible and it's just one of the ways of May to go on this subject and without all the relevant information, I don't have the time to enter in other scenarios.

    Hope that helps!

    Post edited by: WoodyZ

    Added the second - to - restart

  • How can I write this in sql? (an another headcracker challenging the report)

    Hi guys!

    I need to create / generate a report. I intend to do all of this with only pure SQL.
    Been cracking my head for days, but nothing helped.

    Hope you gurus here me straightened out.

    Here it goes. I have a table

    TABLE USAGE_REPORT
    ------------------------------------
    Date date of daily
    BalanceCF NUMBER - the sum of initial departure or (balancebf)
    Topup_amount NUMBER amount topup so far
    Usage1 NUMBER - duration of the use of $ on certain prod
    2 NUMBER - duration of the use of $ on certain prod
    BalanceBF NUMBER - BalanceCF + refill - usage1-2 (which is also the next date of BalanceCF)

    -----------------------------------------------

    Example1
    Please see this link
    http://img9.imageshack.us/img9/708/88149028.gif

    asumming that is my sql

    WITH dates in the FORM
    (
    SELECT trunc (sysdate) + level dmy
    DUAL CONNECT BY level < 366
    ),
    Charging as
    (
    As the SELECT trunc (purchase_date), sum (payment_amount)
    Purchase
    Trunc GROUP (purchase_date)
    ),
    Usage1 as
    (
    As the SELECT trunc (connect_date), sum (charged_amount)
    OF tab1
    WHERE prod_id = "xxx".
    GROUP BY trunc (connect_date)
    ),
    2 as
    (
    As the SELECT trunc (connect_date), sum (charged_amount)
    Of THE tab2
    WHERE prod_id = "yyy".
    GROUP BY trunc (connect_date)
    )
    SELECT * DATE D
    LEFT OUTER JOIN RELOAD T
    WE (D.DMY = T.DATED)
    LEFT OUTER JOIN USAGE1 U1
    WE (D.DMY = U1. DATE OF THE)
    LEFT OUTER JOIN U2 2
    WE (D.DMY = U2. (DATED);

    However

    T1) how can I start to 'launch' the 1st row
    BALANCECF so that i can do the math
    of

    BALANCECF + REFILL - USAGE1 - 2 = BALANCEBF

    Q2) how can I put the value of BALANCEBF in the 2nd line of BALANCECF to make more calculation?

    Q3) is that it has something to do and connect? parent-child relationship

    Q4) brief how to make it look like the photo attach above?

    Help, please!
    Best regards
    Noob

    I use 200 as initial balance_cf. did you not sample data, so code below is not tested:

    WITH dates as (
                   SELECT  TRUNC(SYSDATE) + level dmy,
                           200 balance_cf
                     FROM  DUAL
                     CONNECT BY level < 366
                  ),
         topUP as (
                   SELECT  trunc(purchase_date) dated,
                           sum(payment_amount) topup_amount
                     FROM  purchase
                     GROUP by trunc(purchase_date)
                  ),
        Usage1 as (
                   SELECT  trunc(connect_date) dated,
                           sum(charged_amount) usage_amount
                     FROM  tab1
                     WHERE prod_id = 'xxx'
                     GROUP BY trunc(connect_date)
                  ),
        Usage2 as (
                   SELECT  trunc(connect_date) dated,
                           sum(charged_amount) usage2_amount
                     FROM  tab2
                     WHERE prod_id = 'yyy'
                     GROUP BY trunc(connect_date)
                  )
    SELECT  dmy,
            balance_cf + sum(topup_amount - usage1_amount - usage2_amount) over order by dmy rows between unbounded preceding and 1 preceding) balance_cf
            topup_amount,
            usage1_amount,
            usage2_amount,
            balance_cf + sum(topup_amount - usage1_amount - usage2_amount) over order by dmy) balance_bf
      FROM  DATES D LEFT OUTER JOIN TOPUP T ON (D.DMY = T.DATED)
                    LEFT OUTER JOIN USAGE1 U1 ON (D.DMY = U1.DATED)
                    LEFT OUTER JOIN USAGE2 U2 ON (D.DMY = U2.DATED)
      ORDER BY dmy
    /
    

    SY.

  • How can I use notifications to send data from different sources for the same chart?

    Hello

    I use the model of 'Continuous measurement and logging' project comes with LV 2013.

    It is extremenly helpful in understanding the messaging between the acquisition, graphic and loops of newspaper. (Thank you NEITHER!)

    I ran into a snag though.

    I want to change so that my graphic loop receives notifications of data from two sources of acquisition by the declarant.

    I have trouble getting the data from the two sources to display on one graph.

    I've isolated the problem in the attached vi.

    Here's what happens:

    1. I create 2 parallel loops data and send the data to a third parallel loop with the notifiers.

    2. the third loop receives data from one of the loops because one of the authors of just receiving notifications is to expire instead of receive data.

    Can anyone suggest how can I fix?

    Thank you.

    -Matt

    Here's my modification of your VI. I put notes on the block diagram to explain the changes. He uses a queue for data transfer to avoid data loss. It uses a notifier to stop loops. All local variables and value property nodes have been eliminated.

    The way loops are arrested probably let some data in the queue. No more of one or two iterations of each of the loops of data acquisition. If you need ensure that all data has been displayed (or recorded in a real application), then you must stop acquiring loop first and read the queue until you know it's empty and both other loops stopped. Then stop the render loop and release the queue and the notifier.

    Lynn

  • How can I share local drives exclusively between my 4 computers on the network?

    Hello
    Now I'm sharing local drives between my computers setting to share with everyone and which works very well but I'm worried about my brothers and sisters, to access my files.
    I want my 4 computers to share their local hard drives exclusively between them so, how can I do?
    I tried to add permissions for each computer individually but every time I have to try give me a message "the next object is not a domain listed in the Select location dialog box, and is therefore not valid" here is a screenshot of this:
    http://img502.imageshack.us/img502/4425/82018296.PNG

    And btw my computers all have the same user name and password are.
    Thanks for the help I appreciate it sincerely from the bottom of my heart =)

    In the network and sharing settings / advanced sharing settings / turn sharing protected by password. Use a unique name for the corresponding user password on your four computers.
    Set the Public sharing or disable as your prefer for your public folders and organize your files accordingly.

  • How to import bookmarks from another computer on the network?

    I have an old computer that has firefox on it with a large number of bookmarks. I want to import the bookmarks into this new computer on my home network. How can I do this? It would also be useful if in the course of the transfer bookmarks would get in alphabetical order.

    You can export to HTML bookmarks in the Bookmarks window. It's now called "show all bookmarks". The last button on the toolbar in the window is the one that you are using and choose export. You can then save the bookmarks in HTML whenever you want. With the new computer, use the same toolbar button and choose Import and import the HTML file.

  • How to access Windows Mail from another PC on the network home wireless.

    I have Windows Mail already implemented on the Dell XPS with Vista. We have added a second Netbook with Windows 7 on wireless network at home. How can I access the widows of the second PC Mail account? Thank you

    The solution mentioned by others you will only see
    new entrants on multiple computers.  It will allow you to see the
    messages sent from a computer to be seen on several computers.  In the order
    to do the latter, you would need to move to an IMAP or HTTP account rather
    as POP3.
     
    Note this time Windows Mail and Windows Live Mail require that their message
    store reside on a local hard drive, not on premises that are not accessible via the network
    drive.
     
    --
    Gary van, Microsoft MVP
    ------------------------------------------------
     
    "R L Santee" wrote in message
    News: * e-mail address is removed from the privacy... *
    > Windows Mail uses a free POP3 account provided by the ISP (Bayland.net). I have
    > do not have any kind of e-mail program on the Netbook, waiting for
    > know exactly what I need to do things. Thank you for your attention,
     
     

    Gary van, Microsoft MVP (Mail)

  • How can I connect a HARD drive external through terminal to display a hidden folder.

    I keep all my important data in a dmg encrypted in a folder hidden in my mac (I know, I'm a little paranoid), long story short, my mac HARD drive wiped. Luckily I had a backup, but is on an external HARD disk and the file is still hidden, I can't understand how to access (I have tried to view all the hidden files on my mac, did not work). So the question is, how to find the folder hidden on my external HARD drive? I have done it before by terminal but forgot the command. >:| BTW, I'm in Yosemite.

    Thanks in advance.

    invisible files begin with a.

    CD to the directory where the file is located.

    LS - a

    shows all files, including those with a. at the beginning of their name.

    named files. and... are up and down links in the chain of directory - do not modify.

  • How can I connect 53 pencil to sketch from adobe

    Hi NanaSusie.

    If you use an iPad Pro, the stylus only supported in versions of Pro iPad sketch of Adobe and Adobe Draw is Apple pencil. Third pens still work on older/other iPads. On an iPad, tap the pencil icon in the navigation bar of any plan of work and a menu will open to connect with your stylus.

    Hope that helps.

    Sue.

  • How can I update an application if comes from another county store?

    I want to update an application at Bank of america americann, but I recently change my account to Mexico for a family account and when I try to update the Bank of America and Pandora Apps, it says that I need to change my store. I tried to do, but I don't know how.

    Is it possible to do it and how?

    You can change in a store when your Apple ID account indicates an address post office and has a credit card of the country you are trying to implement.

    Good luck

    GB

  • How can I drag my clips of images from one side to the other quickly?

    Is it possible that I can drag a video clip of the right side to the left but faster that just take it

    and drag it to the left?

    I tried holding down SHIFT, alt, cmd, but key without success.

    Thanks for the help!

    Prior to zoom, select and cut out and then paste.

  • How can I update this table with values from another table?

    Hello

    I have a table 'governed '. I want to replace the values in the column "regies.agent" by the value of the column "regies_personnes.id."
    As you can see the tables have a column of common values. IE regies.agent = regies_personnes.nom

    Table 'governed ':
    Insert into 'authorities' (AGENT) values ('Humberdot Alain");
    Insert into 'authorities' (AGENT) values ("Danard Patrick");

    Table 'regies_personnes ':
    Insert into REGIES_PERSONNES (NAME, ID) values ("Humberdot Alain", 1);
    Insert into REGIES_PERSONNES (NAME, ID) values ("Danard Patrick", 2);

    Before having it
    SQL > select agent of authorities;
    Humberdot Alain
    Patrick Danard

    After the update, the result should be
    SQL > select agent of authorities;
    1
    2

    Thank you for your kind reply.

    You can

    update regies r set agent = (select id from regies_persones p where r.agent = p.nom)
      where exists (select id from regies_persones p where r.agent = p.nom)
    

Maybe you are looking for

  • Airport express appears is not on the iPhone, macbook pro

    My express airplay airport appeared on iTunes (macbook pro with El Capitan), but it does not appear on my iPhone (6 s more with the last update iOS 10.0.2).  I have an old iPhone (iOS 9.3.5) 5 c and airtime appears that iPhone.  Don't know why I can'

  • Effects of third party to iMovie?

    In the earlier version of iMove (which I think was much better), there are packages from third-party additional transitions, both video and audio effects, title formats (and font) that Apple has approved and sold.  Work in the new iMovie, or is there

  • Awesome bar does not directly open the sites.

    When we type nokia India in FF3 opening http://www.nokia.co.in/ or samsung India, he opened http://www.samsung.com/in/ directly. But this feature does not work with FF4. When you type the keyword nokia India it takes us to google search. How can I ge

  • Qosmio X 770 - would be partitions retractable affect HDD Recovery?

    There are three default partitions - 1.5 (active) GB, 450 GB (Windows 7) and 15 GB (HDD Recovery), all three primary type. I want to shrink the partition Windows 7 average ("C:", 450 GB) to make another partition primary or logical free space unalloc

  • Need drivers for my camera HDMI TV

    Good evening! Hi Im from Spain. I think you can see in my English :) and my problem is the following: I bought a camera a few years ago and I lost the driver CD and I need it! I searched your site diferent but I've not found anything: SMy camera is T