DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: how to change listener port 8080

  1. #1
    Join Date
    Aug 2000
    Location
    Jolo, Sulu
    Posts
    639

    how to change listener port 8080

    Hi Friends,

    I got installed oracle 9i on NT and started its listener.
    I pressumed it uses the default port 8080.
    We noticed it got conflict with the port being used
    by the apps developer running on the same server.
    How can i change it to use other port no.?
    Its because one of the apps developer uses also port
    8080 and he said changing it would mean editing
    all his programs and recompile them.


    Thank you all in advance

  2. #2
    Join Date
    Aug 2001
    Location
    chennai,bangalore
    Posts
    840
    Hi,
    By default listener will not use 8080 port. It uses 1521 port.Probably u might have installed apache from oracle software which might be using 8080 port.Please uninstall or stop apache service

    And also check your listener configuratio in listener.ora file, there u would find the keyword PORT. Check the no after the word

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    )
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abcd)(PORT = 1521)(queuesize=200))
    anandkl

  3. #3
    Join Date
    Aug 2000
    Location
    Jolo, Sulu
    Posts
    639
    Hi,

    Thanks a lot friend, but i want to use apache also?
    How will i change the port it is using?


    Thanks

  4. #4
    Join Date
    Aug 2001
    Location
    chennai,bangalore
    Posts
    840
    I am not sure, but check for apache config file under oracle home directory, there u will have option to change the port no.

    But please check, i am not sure about this

    regards
    anandkl
    anandkl

  5. #5
    Join Date
    Nov 2002
    Location
    New Delhi, INDIA
    Posts
    1,796

    Re: how to change listener port 8080

    Originally posted by kris123
    Its because one of the apps developer uses also port
    8080 and he said changing it would mean editing
    all his programs and recompile them.
    This is i would say is a bad practise... ask the developer not to hard code port numbers and URLs, they are to be picked from a property file...

    If this development is for a client then this is not at all accaptable as this can lead to problems, what if client does not want to open the port 8080... or they want some other port...

    As for changing the Apache port number, go to ORACLE_HOME/Apache/Apache/conf and edit the httpd.conf file and search for 8080 or the words "Port" and "Listen" (without the quotes) and you will find the port numbers there, just change them and do a restart of your apache server from the service.
    Amar
    "There is a difference between knowing the path and walking the path."

    Amar's Blog  Get Firefox!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width