Last week I changed my portsettings from port 8080 to port 80 and enabled http tunneling.
With some help of the forum this was a piece of cake!
We’d like to change the port settings on our live server as well, but it we’ve already connecting some clients to this server.
Is it possible to have servoy listening on port 80 as well as the default 8080?
And: if so > how?
Thnkx for any input
If you want Tomcat to listen to more than one port, just duplicate the node in the server.xml field and give it another port to listen to. Just make sure that the ports are not used by any other application.
In your case:
<Connector port="80"
protocol="HTTP/1.1"
maxThreads="500" connectionTimeout="60000"
redirectPort="8443" useBodyEncodingForURI="true" />
<Connector port="8080"
protocol="HTTP/1.1"
maxThreads="500" connectionTimeout="60000"
redirectPort="8443" useBodyEncodingForURI="true" />
I suppose you can leave the redirectPort to 8443 for both without consequences.
Just tried it (in developer, and then in server) and it works.
Hi Patrick,
thnkx buddy! You saved me again!
I also tested this and it works great…
Harjo
July 18, 2009, 9:41am
4
ptalbot:
If you want Tomcat to listen to more than one port, just duplicate the node in the server.xml field and give it another port to listen to. Just make sure that the ports are not used by any other application.
In your case:
<Connector port="80"
protocol="HTTP/1.1"
maxThreads="500" connectionTimeout="60000"
redirectPort="8443" useBodyEncodingForURI="true" />
<Connector port="8080"
protocol="HTTP/1.1"
maxThreads="500" connectionTimeout="60000"
redirectPort="8443" useBodyEncodingForURI="true" />
I suppose you can leave the redirectPort to 8443 for both without consequences.
Just tried it (in developer, and then in server) and it works.
wow, never knew that!! thanks for sharing!