All,

I am not sure is this out of scope with Tomcat's policies?


===========================

Thank You;

Chris Cheltenham
Technology Services
The School District of Philadelphia

Work # 215-400-5025
Cell # 215-301-6571


-----Original Message-----
From: Cheltenham, Chris [mailto:ccheltenham-...@philasd.org]
Sent: Friday, March 2, 2018 10:43 AM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: RE: tomcat 8.5.28

Thanks My friend , I have tried that without success.


[root@cjc logs]# iptables -t nat -I PREROUTING -p tcp --dport 443 -j 
REDIRECT --to-port 8443 [root@cjc logs]# curl -k https://10.32.32.230
curl: (7) Failed connect to 10.32.32.230:443; Connection refused [root@cjc 
logs]# service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ] 
[root@cjc logs]# curl -k https://10.32.32.230
curl: (7) Failed connect to 10.32.32.230:443; Connection refused [root@cjc 
logs]# curl -k https://10.32.32.230:443
curl: (7) Failed connect to 10.32.32.230:443; Connection refused [root@cjc 
logs]#

===========================

Thank You;

Chris Cheltenham
Technology Services
The School District of Philadelphia

Work # 215-400-5025
Cell # 215-301-6571


-----Original Message-----
From: Johan Compagner [mailto:jcompag...@servoy.com]
Sent: Friday, March 2, 2018 10:23 AM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: tomcat 8.5.28

sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port
8080
sudo iptables -t nat -I PREROUTING -p tcp --dport 443 -j REDIRECT --to-port
8443

then you can save the iptables so they stick after reboot:

sudo service iptables save


On 2 March 2018 at 15:08, Cheltenham, Chris <ccheltenham-...@philasd.org>
wrote:

> Hello,
>
>
>
> Has anyone set up tomcat as a non-root use?
>
>
>
> I have set it up successfully however, I have to bound the non-root
> user to port 8443.
>
>
>
> What is the best way to reroute 8443 through 443?
>
> There are several options.
>
> Everything is set up at send to port 443 so I need to reroute 8443 in
> and out of 443
>
>
>
> CentOS 7 by the way –
>
>
>
>
>
> ===========================
>
> Thank You;
>
> Chris Cheltenham
> Technology Services
> The School District of Philadelphia
>
> Work # 215-400-5025
> Cell # 215-301-6571
>



--
Johan Compagner
Servoy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to