Skip to content

Tag: tomcat

RedHat on port 80

I got Apache Tomcat running some app on RedHat server, now listening on port 8081. I want the app to listen to port 80, but not working. My RedHat server not using firewall so iptables has no relavance. How can i make it work? Here is my server.xml: Answer Ports below 1024 can only be opened by a root user.

Can’t connect to Tomcat9 outside

I can’t connect to tomcat9 from outside (by ip) i disabled tcp6 (add to /etc/sysctl.conf) following netstat -nlp output: server.xml Connector block: I also tried to add useIPVHosts=”true” to <Connector> and resolveHosts=”true” to <Valve> block in server.xml, but still…

Command to change tomcat server port

I’m using ubuntu, and I’m in a need of some command, using which I can change the server port configurations. Therefore, my question is… Is there any linux command, to update the Tomcat server connection port, as well as server shutdown port? Answer maksim_khokhlov answer looks promising if …

Tomcat Server creating Directories in tmp

Everytime my embedded virtual tomcat server is ran (spring boot) it creates a directory structure in /tmp/ that is named tomcat.##########################.8080 (I am guessing 8080 is for port or something but the 8080 is consistent). This structure does not take up much space alone but after running the tomca…

How to restart application in tomcat server

I have been looking for some solution to restart app inside tomcat server on remote linux machine but i haven’t found anything yet. Can anyone please tell me how can i restart the application in Tomcat Server after some time interval without restarting the tomcat server on remote machine? Can anyone hel…