Tomcat is configured by Eclipse to climb on port 8085 but only opens on 8080

Asked

Viewed 526 times

0

Guys, when setting up Tomcat in the eclipse he gave the error saying that the default ports (8005,8080,8009) were busy, I changed the ports and ran the program, only in Google Chrome when I put localhost:8080 it opens even if it is not configured for that port!!! But when I put localhost:8085 that are the "open" ports according to the eclipse and that I saved in the server connection the browser of the 404.

localhost:8080

chamando o arquivo diretamente

chamando o localhost:8085

How do I stay only in the 8080? I already uninstalled Tomcat and installed an earlier version and it was the same thing. I already stopped and restarted it for the Services but without success. I can enter manager in the normal 8080. It seems until it is duplicated, I don’t know.

I’m learning JSF running on Windows 10.

  • I never used Tomcat, so responding in comment but it seems to me that the vhost of apache server is on the same port of Tomcat and therefore how much tries to change gives the error. Try switching apache to port 8081.Follow these steps also to find out which program is allocating port https://engdanielsantos.wordpress.com/2012/01/11/howto indentify processos-services-ou-applicaties-working-on-a-date-porta-windows/

  • Thank you for the comment Rafael. I believe I understood the "problem", when I raise the Tomcat by Eclipse and game localhost:8080 in the browser and gives 404 is Tomcat saying that everything is ok (there at the end appears Apache Tomcat 9.0, so I saw he does not set up that welcome screen climbing up the Eclipse he starts the raw, pure Tomcat. This is why my . jsp and xhtml appear from the browser directly. The situations were two: First, I was running in Eclipse (you can’t do that). The second was that I was lifting Tomcat by the tray icon,

  • So you solved ?

  • Yes, I did. It’s all right now.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.