Doubt with Tomcat

1

I started to learn JSF and installed Tomcat , but when I boot it it appears:

  

Port 8080 required by Tomcat v7.0 Server at localhost is already in   use. The server may already be running in another process, or a system   process may be using the port. To start this server you will need to   stop the other process or change the port number (s).

I would like to know how to change this.

    
asked by anonymous 24.04.2015 / 21:46

1 answer

1

The conflict problem can be solved in two ways: the first is identifying the other software that is already using port 8080 and the second way would be:

  • Locate the Apache Tomcat installation. Log into your directory;

  • Enter the / conf directory

  • As the root user, open the server.xml file; For example:

  • If it's LINUX: # gedit server.xml If Windows opens with Notepad or compatible

  • With the file open, search (Ctrl + F) for 8080;

  • Switch to any port of your choice. It is worth pointing out that you use a port that no service uses;

  • Save and close the file.

  • 24.04.2015 / 22:21