Websphere Community Edition change port 8080 to 80

WebSphere Community Edition Changing the HTTP port to 80

What I need to do now is find how to change WCE do bind to a particular IP Address and port.

find . -type f | xargs grep 8080


/var/apps/wce/var/config/config.xml most probably contains my configuration. However I found that the config file uses substituted variables from a properties file


var/config/config-substitutions.properties

So I changed the following line


EndPointURI=http\://\:8080

To

EndPointURI=http\://<ipaddress>\:80

and

HTTPPort=8080

to

HTTPPort=80

You may also wish to change the attribute

from

ServerHostname=0.0.0.0

to

ServerHostname=<ipaddress>

and put your ip address to bind to a specific ip address as opposed to all ip addresses on the nic.

at last reboot server .



reference:http://www.webspheretools.com/sites/webspheretools.nsf/docs/Changing%20the%20HTTP%20port%20of%20WebSphere%20Community%20Edition

你可能感兴趣的:(websphere)