Skip to content
Advertisement

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 nothing. I’ll be thankful for all of your answers) Answer From what you have provided, your Tomcat server is running on

can’t connect to ec2 tomcat localhost

I’ve followed a lot of tutorials and questions which been asked before, but still no good (I’m total beginner in ec2) I’ve did the following: lunched Amazon Linux AMI 2015.09.1 (HVM), SSD Volume Type. I’ve added this rule to my security group inbound: but when I try to browse to: Public DNS:8080 I get: This webpage is not available: ERR_CONNECTION_TIMED_OUT

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 you want to change it at the start (it is taken from

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 tomcat server often over time this can fill up. Can I prevent

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 help me out with the Bash Script and CRON

Advertisement