• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

changing port number of server

 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I googled and found that in <domain-name>/config/config.xml file, you can change <listen-port> tag to change port number.

But I can't see <listen-port> tag in my config.xml file. What can be the reason? And in such case, how to change port number?

Thanks.
 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi rathi

Just see the under the Domain Name , there is a file name config.xml

In that file see the tag like <Server ListenAddress="" ListenPort="7001" Name="myserver"

Then change your settings restart the server will change affect.
 
ankur rathi
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by krishnamoorthy kitcha:
Hi rathi

Just see the under the Domain Name , there is a file name config.xml

In that file see the tag like <Server ListenAddress="" ListenPort="7001" Name="myserver"

Then change your settings restart the server will change affect.



Nope. There is no file with name config.xml just under <domain-name> folder.

In fact I searched for 7001 string (word inside files) as my server is running on 7001 port but didn't find 7001 string in any XML file. It's in 2-3 bat files but that's not important.

 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It would be useful to know which version of Weblogic you are using, as configuration options vary from version to version.
 
Greenhorn
Posts: 27
Eclipse IDE Oracle Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can change the Port Number by Editing the Config.xml file is your user project.
Given below is the sample location

C:\Oracle\Middleware\user_projects\domains\base_domain\config\config.xml

Edit that file.

<server>
<name>AdminServer</name>
<listen-port>7007</listen-port> change this to the desired Port Number you want.
<listen-address></listen-address>
</server>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic