You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by paulhr <pa...@orthogroup.holdings> on 2016/06/30 16:04:36 UTC

I have a requirement where I must serve up my website using port 80 and 443, not 8080 and 8443.

I have a requirement where I must serve up my website using port 80(HTTP) and
443(HTTPS), not 8080 and 8443.

As per the documentation that I found on the Internet it should be as simple
as making changes to the *server.xml* file. But after making the change in
restarting the server the website will not work anymore, it times out. Are
there any extra special steps needed for Tomee-Plume 1.7.4 when changing the
ports?  The host OS is Fedora 23.  My website is 100% servlet based.





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/I-have-a-requirement-where-I-must-serve-up-my-website-using-port-80-and-443-not-8080-and-8443-tp4679137.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: I have a requirement where I must serve up my website using port 80 and 443, not 8080 and 8443.

Posted by paulhr <pa...@orthogroup.holdings>.
On Fedora 23 firewall-cmd is used.  Once I executed the following two
commands the site is now working.

# firewall-cmd --permanent --zone=public --add-service=http
# firewall-cmd --permanent --zone=public --add-service=https

Thanks for the help.  Hope to return the favor some day.



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/I-have-a-requirement-where-I-must-serve-up-my-website-using-port-80-and-443-not-8080-and-8443-tp4679137p4679150.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: I have a requirement where I must serve up my website using port 80 and 443, not 8080 and 8443.

Posted by Romain Manni-Bucau <rm...@gmail.com>.
in server.xml host can be changed so you don't listen on localhost but
another physical interface


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-06-30 18:27 GMT+02:00 paulhr <pa...@orthogroup.holdings>:

> I don't know what you mean by "Host set".
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/I-have-a-requirement-where-I-must-serve-up-my-website-using-port-80-and-443-not-8080-and-8443-tp4679137p4679140.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Re: I have a requirement where I must serve up my website using port 80 and 443, not 8080 and 8443.

Posted by paulhr <pa...@orthogroup.holdings>.
I don't know what you mean by "Host set".



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/I-have-a-requirement-where-I-must-serve-up-my-website-using-port-80-and-443-not-8080-and-8443-tp4679137p4679140.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: I have a requirement where I must serve up my website using port 80 and 443, not 8080 and 8443.

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

depending the OS you can need to play with security tools of the
distribution to get allowed to do it.

Can you telnet on the port using the host set in server.xml?


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2016-06-30 18:15 GMT+02:00 paulhr <pa...@orthogroup.holdings>:

> I am not getting any port errors on startup of Tomee-Plume.  And
> catalina.out
> shows ports 80 and 443 bound.
>
> un 30, 2016 12:20:53 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-80"]
> Jun 30, 2016 12:20:53 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-bio-443"]
> Jun 30, 2016 12:20:53 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-bio-8009"]
> Jun 30, 2016 12:20:53 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3511 ms
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/I-have-a-requirement-where-I-must-serve-up-my-website-using-port-80-and-443-not-8080-and-8443-tp4679137p4679138.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Re: I have a requirement where I must serve up my website using port 80 and 443, not 8080 and 8443.

Posted by paulhr <pa...@orthogroup.holdings>.
I am not getting any port errors on startup of Tomee-Plume.  And catalina.out
shows ports 80 and 443 bound.

un 30, 2016 12:20:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-80"]
Jun 30, 2016 12:20:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-443"]
Jun 30, 2016 12:20:53 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jun 30, 2016 12:20:53 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3511 ms




--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/I-have-a-requirement-where-I-must-serve-up-my-website-using-port-80-and-443-not-8080-and-8443-tp4679137p4679138.html
Sent from the TomEE Users mailing list archive at Nabble.com.