• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

changing port number of server

 
Ranch Hand
Posts: 3851
  • 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: 3851
  • 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: 9625
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>
 
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic