| Author |
changing port number of server
|
ankur rathi
Ranch Hand
Joined: Oct 11, 2004
Posts: 3820
|
|
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
Joined: Feb 04, 2006
Posts: 96
|
|
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
Joined: Oct 11, 2004
Posts: 3820
|
|
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
Joined: Oct 29, 2001
Posts: 7921
|
|
|
It would be useful to know which version of Weblogic you are using, as configuration options vary from version to version.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
Pawan Choure
Greenhorn
Joined: May 11, 2008
Posts: 23
|
|
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>
|
Pawan Choure
|
 |
 |
|
|
subject: changing port number of server
|
|
|