I am using Eclipse Kepler
and EclipseTotale
's tomcat plugin. I am using Oracle XE
at port 8080
, and want to run Tomcat at port 9090
. I have changed server.xml
and changed the port at this line :
<Connector connectionTimeout="20000" port="9090" protocol="HTTP/1.1"
redirectPort="8443"/>
It still says the address is already in use. Also, I am a little skeptical as to whether changing server.xml
will have any effect as I have selected Context Decalration Mode to be Context Files instead of server.xml
Any suggestions ?
Just double click on the server listed in Eclipse. Here It will display Server Configuration. Just change the port Number like from 8080 to 9080. and start your server. Dialog box will appear to save the changes. Click yes and server will start. Hope it'll help you.
For details refer; link
Open Eclipse Get Server view form Window -> Show View -> Servers Then double click the tomcat server Configuration window open and you can change the ports there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With