When I try to access http://localhost:8080/ and http://localhost:8081/ on my browser, they both will show Nginx homepage.
I tried nginx -s stop
and made sure ps -ef | grep nginx
has nothing except the process running grep nginx. I’m expecting that Nginx will listen to one port and my Tomcat server can listen on the default port 8080.
Thanks 🙂
New contributor
Andrew Liu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.