File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

changing port number of server

 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
krishnamoorthy kitcha
Ranch Hand
Posts: 96
  • 0
  • Mark post as helpful
  • send pies
  • 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: 3830
  • 0
  • Mark post as helpful
  • send pies
  • 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.

 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Pawan Choure
Greenhorn
Posts: 27
Eclipse IDE Oracle Windows
  • 0
  • Mark post as helpful
  • send pies
  • 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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic