Cannot listen on public address

Hello,
I'm setting a Oracle Database inside an Amazon EC2 instance and I want it to be accessible from the outside. However, when I'm starting the listener, I've got this error :
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=test-db)(PORT=1521)))
TNS-12543: TNS:destination host unreachable
TNS-12560: TNS:protocol adapter error
TNS-00513: Destination host unreachable
Linux Error: 113: No route to host
In my hosts file, I've added this line to correctly resolve the "test-db" host (x.x.x.x is the public IP of my EC2 instance). Pinging "test-db" does work properly
x.x.x.x test-db.fic-test-lab.com test-db
And finally, my listener.ora file looks like this:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test-db)(PORT = 1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=orcl)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME=orcl)
If I change "test-db" to "127.0.0.1", everything works perfectly, but the database is obviously not accessible from the outside. I can't find what step I'm missing...
Thanks,
jtellier

damorgan - I'm simply trying to set up a database that would be publicly accessible. The database version is 11gR2.
It was my understanding that if the address specified in listener.ora was 127.0.0.1, the listener would only accept connections from localhost, not from the outside. And that's what seems to be happening for me.
Pradeepan - When starting the listener without any listener.ora, I've got this error:
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=test-db.fic-test-lab.com)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
TNS-12543: TNS:destination host unreachable
TNS-12560: TNS:protocol adapter error
TNS-00513: Destination host unreachable
Linux Error: 113: No route to host
sb92075 - Yes, it would make sense... ifconfig shows that eth0 has a 10. address and it doesn't show any interface with the public address. After reading the page posted by jgarry regarding EC2 instances addressing, I understand that the public IP is only used by NAT and is not known by the OS. So yeah, the cause seems to be the OS...
jgarry - Yes, it's the same address.
So now, if I understand the problem correctly with the additional info in the page posted by jgarry, the problem is that I can't put the public address in my listener.ora file because the OS doesn't know about this address. On the other hand, if the listener listen on localhost, it wont accept connections from the outside. Does that make sense?
Thanks,
--jtellier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Error when create listener - thespecified IP Address 'IP' is not valid in the cluster-allowed IP range.

    Hi...
    I'm able to configure AlwaysOn and all things are great.
    I have a problem only when create a listener , I have two node in same data center (SQLP1,SQLP2) and one in DR data center (SQLD1) 
    SQLP1 + SQLP2 > Sync
    SQLD1 > Async
    The error I face is 
    The specified IP Address 'IP' is not valid in the cluster-allowed IP range. 
    Check with the network administrator to select values that are appropriate for the cluster-allowed IP range.
     (.Net SqlClient Data Provider)
    I went through some suggestion and found a permission required (create computer objects) and I give it but still error show up.
    I follow the same as here 
    http://blogs.msdn.com/b/psssql/archive/2013/09/30/error-during-installation-of-an-sql-server-failover-cluster-instance.aspx

    Hi 
    Thanks for your follow up. I hope the below information is enough
    Creating Listener through visual studio wizard “Add listener”
    Hostname
    IP Address
    Description
    SQLP1
    Public
    10.190.255.90/
    Subnet 10.190.255.0/24
    Private
    10.192.255.90
    subnet 10.192.255.0/24
    MS SQL AlwaysOn Availability Test Lab Server 1 – Main DC
    SQLP2
    Public
    10.190.255.91
    Subnet 10.190.255.0/24
    Private
    10.192.255.91
    subnet 10.192.255.0/24
    MS SQL AlwaysOn Availability Test Lab Server 2 – Main DC
    SQLDR1
    10.193.255.90/
    subnet 10.193.255.0/24
    Private
    10.194.255.90
    subnet 10.194.255.0/24
    MS SQL AlwaysOn Availability Test Lab Server 1 – DR DC
    10.190.255.93
    SQL Always on listener

  • Cannot access memory at address 0x4

    Hi All ,
    In my Cocoa Application I am trying to transfer files between different terminals .Well likewise everything works fine, the transfer starts and then suddenly it halts displaying the following RunLog :
    #0 0xffff07fc in objcmsgSendrtp
    [Session started at 2007-08-14 17:25:51 -0700.]
    GNU gdb 6.3.50-20050815 (Apple version gdb-573) (Fri Oct 20 15:50:43 GMT 2006)
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "i386-apple-darwin".
    Loading program into debugger…
    Program loaded.
    sharedlibrary apply-load-rules all
    Attaching to program: `/Users/gada/TestingRBUDP/RBUDP6_26/build/Debug/RBUDP_6_26.app/Contents/MacOS/RBUDP_626', process 3141.
    Unable to restore previously selected frame:
    Unable to restore previously selected frame:
    Unable to restore previously selected frame:
    Cannot access memory at address 0x4
    Cannot access memory at address 0x4
    Unable to disassemble objcmsgSendrtp.
    (gdb)
    I would be very thankful if you can give me some suggestions .

    Sounds like a coding problem. If it isn't too much, you could post it here and we'll do a code review for you. Post your code between two lines of
    { code }
    { code }
    (not including the spaces between "code" and the braces.)

  • Channel_setup_fwd_listener: cannot listen to port: 1158

    I want to access the Enterprise manager through.
    http://<IP Address>:1158/em/
    Because of firewall issue i used ssh to create the tunnel.
    But i gives an error.
    I do not undestand it very clearly and workaround for that.
    oracle@srv603484:~> ssh -fNL 1158:<IP Address>:1158 oracle@<IP Address>
    Password:
    bind: Address already in use
    channel_setup_fwd_listener: cannot listen to port: 1158
    Could not request local forwarding.
    Please help.
    Thanks,

    It seems this is a ssh tunnel issue. Try this:
    ssh -f user@<IP Address> -L 1158:<IP Address>:1158 -N

  • I recently upgraded to iOS 7.0.3 and now my iPhone 4S will only sync purchased music to my phone from iTunes. Help! I have TONS of music that I have bought and burned to my computer, but cannot listen to it on my iPhone. This seems ridiculous!

    I recently upgraded to iOS 7.0.3 and now my iPhone 4S will only sync purchased music to my phone from iTunes. Help! I have TONS of music that I have bought and burned to my computer, but cannot listen to it on my iPhone. This seems ridiculous!

    Also, it's taking FOREVER (over an hour) to sync my iPhone to iTunes...

  • Ipad 1st gen. Safari cannot open page because address is invalid. I get this trying to download apps from itunes, infact it will do this under any variable. 4.3 os ive tried copy paste in url but it doesn't matter what i try, safari doesnt allow anyway?

    Ipad 1st gen. Safari cannot open page because address is invalid. I get this trying to download apps from itunes, infact it will do this under any variable. I have tried copy paste in url but it doesn't matter what i try, safari doesnt allow anyway i try. I have searched answers to this but to no avail.
    Leigh

    Hi Demo,
    Yes, I have not made myself clear, I apologise.
    I have tried downloading apps from itunes in order to set up a game for my son, when I go to click on a link, be this in itunes, or on the web, Safari revolts back informing the address is invalid. I read by coping a link and pasting into the URL, this would do it, but not so.
    My goal then, is to install Minecraft for my son, I would then download an app to allow this but I am unable to get this far due to Safari insulting the address I ask it to go to
    The iPad is first generation
    OS 5.1.1 Software up to date.
    Thank you in advance for your time

  • My iPhone 4s cannot join a public unsecured network but my iPad and macbook can.  I have reset the network settings twice.  Both times it worked, but only for a few minutes.  What can I do?

    My iphone 4s cannot join a public unsecured network, but my ipad and macbook can with no problems.  I have reset the network settings on the iphone twice.  Both times that fixed the problem but only for a few minutes, then I get the "cannot join network" message again.  Please help!  What can I do?

    Anyone have any ideas or information to help with this?  Any help and consideration is MUCH appreciated.

  • I have imported music from my ITunes in IMovie 11 but I cannot listen it. When I open the editor is ok but I just close the editor the music is muted. Can someone help me?

    I have imported music from my ITunes in IMovie 11 but I cannot listen it. When I open the editor is ok but I just close the editor the music is muted. Can someone help me?
    Thanks in advance.

    Do you have Logitech gaming software installed on the PC? If so, perhaps try the suggestion from the following post:
    Re: Everytime I close Itunes it loads back up

  • I am a resident of Canada. I cannot purchase any items from ITunes Store because I cannot update my billing address correctly. It is always default to US address. Why?

    I am a resident of Canada. I cannot purchase any items from ITunes Store because I cannot update my billing address correctly. It is always default to US address. Why?

    iTunes Store: Changing Account Information
    http://support.apple.com/kb/HT1918
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    Apple ID Support - Manage Account
    http://www.apple.com/support/appleid/manage/
    Switching an iTunes Store account to a different country
    http://www.ilounge.com/index.php/articles/comments/switching-an-itunes-store-acc ount-to-a-different-country/
     Cheers, Tom

  • When trying to update app I get a message saying " Safari cannot open page because address is invalid" help! I use iPad 1. Thank you.

    I have the iPad basic first edition. For some reason my app store app is missing. On my games when I tried to update the apps I get a message that says safari cannot open page because address is invalid, but this happens even when I click directly on the prompt message that comes up when loading game. Also, it seems that my app store app has been deleted? I don't know how to get it back. When I try to download it I get the same safari message as afore mentioned.

    Swipe to seethe farthest home screen to the left. Type in App Store in the search box and see if the app may have been accidentally placed into a folder with another app.
    You cannot download apps using Safari.

  • *WARNING* messages IcmJ2EEScheduleFunc: Cannot access "/sap/public/icman"

    Hi all,
    Anyone encountered the following error messages in the dev_icm tracefile?
    WARNING => IcmJ2EEScheduleFunc: Cannot access "/sap/public/icman" with protocol "HTTPS" on AppServer - please check node in TA sicf
    Some info:
    The service /sap/public/icman is not active.
    No J2EE engine is installed.
    Any suggestions?
    Best regards,
    -Chung.

    Yes, i have something like it too:
    IcmJ2EEScheduleFunc: Cannot access "/sap/public/icman" on AppServer - please check node in TA sicf [icxxman_mt.c 1872]
    Same kind of config, it is a R/3 4.7 ext.200  system without any J2EE stuff on it (as far as i know).
    Also it runs on SuSE Linux Enterprise Server 8.2 and MaxDB/SAPDB.
    Am looking for a clue as well
    Anyone?

  • Safari cannot open the specified address as OS X does not recognise the internet address starting with "aam". Please please can someone shed some light on this, its driving me MAD!!!

    when i try to download the software onto my mac, i receive a message saying that safari cannot open the specified address as OS X does not recognise the internet address starting with "aam". Please please can someone shed some light on this, its driving me MAD!!!

    Try and download the Desktop Application First before trying to install any other Adobe Product. The link for AAM is Safari looking for Desktop Application in your machine.
    Creative Cloud Help | Creative Cloud for desktop

  • I downloaded iTunes on my PC and it says I cannot listen to songs I've previously bought unless I enable it. How do I enable it?

    I downloaded iTunes on my PC and it says I cannot listen to songs I've previously bought unless I enable it. How do I enable it?

    Below the download link there's a text link that reads Get iTunes for Macintosh
    Click it and you can download the Mac version (DMG)

  • Cannot Open Some Public Folders on MacBook

    I have several users using my macbook. Each user has their own user account. For user accounts created before "Personal File Sharing" was switched on, other users (except for root) cannot open the "Public" or "Drop" folders. Public and Drop folders for user accounts created after "Personal File Sharing" was switched on may be opened by all users. Both the pre- and post- "Personal File Sharing"-switched-on folders have the correct permissions settings.
    The only work-around I can think of to ensure every user has Public and Drop folders that every other user can open is to delete the pre-"Personal File Sharing"-switched-on user-accounts and create new ones.
    Any other suggestions? Is there some other setting I need to change?
    Help much appreciated.
    MacBook   Mac OS X (10.4.9)  

    When you say "cannot open the "Public" or "Drop" folders, do you mean that the folders are available in the list of shares but cannot be opened, or that the folders aren't available at all? I'm not sure if this is related to your problem, or what accounts for the different behaviours, but it seems in "Tiger", new accounts are often created with an empty 'sharedDir' property. This property in the user record specifies which of the user's folders is to be shared for non-user access in AFP, and usually has a value of "Public". The "Public" folders of users without this property set will not appear in the list of available "shares" that appears after connecting to an AFP server.
    To see what the current value of 'sharedDir' is on a given account, try opening "/Applications" > "Utilities" > "Terminal.app" and entering the command below, substituting 'username' with the user's "short name":<pre>nicl . -read /users/username sharedDir</pre>
    The expected output is 'sharedDir: Public', but if it is just 'sharedDir:' or 'No such key: sharedDir', then that would explain why those users' "Public" folders aren't available for personal file sharing. To set the value to "Public", make sure you are logged in to an "admin" account and try this command:<pre>sudo /usr/bin/nicl . -create /users/username sharedDir Public</pre>
    Substitute a user's name as above, and enter your "admin" password when prompted (your password will not be visible as you enter it - just press the <Return> key after you are done).

  • Cannot get remit to address

    Dear All ,
    I run the auto invoice import program to import 1 invoice but the following error appeared
    Cannot get remit to address
    but I can't understand what is the problem
    Note : I inserted in the RA_INTERFACE_LINES_ALL the following fields
    ORIG_SYSTEM_BILL_CUSTOMER_ID
    ,ORIG_SYSTEM_BILL_CUSTOMER_REF
    ,ORIG_SYSTEM_BILL_ADDRESS_ID
    ,ORIG_SYSTEM_BILL_ADDRESS_REF
    So what is the problem and how to solve it ?
    Please need your advice .

    Hi
    can you help us in identifying remit to address when we run auto invoice, if there are multiple remit to address system considering any remit to address, we need to know which Remit to address can be defaulted
    Thanks
    Krishna

Maybe you are looking for