Use the command
sudo netstat -plten |grep java
used grep java as tomcat uses java as their processes.
It will show the list of processes with port number and process id
tcp6 0 0 :::8080 :::* LIS...
Nging reverse proxy configuration
Tested for nginx/1.11.8
The http_realip_module must be installed (--with-http_realip_module), of course !
Use this command to check :
2>&1 nginx -V | tr -- - '\n' | grep http_realip_module
We need to tell the ...