Configure external Tomcat server

Asked

Viewed 451 times

-1

I would like to set up an external server in Tomcat, I am only able to create a localhost server, but I have a machine that I created as a server and I would like to use it to put my applications there.

You could help me, send useful links or something?

1 answer

2


Inside the Tomcat/conf folder is the server.xml file, responsible for configuring the service ports. Change the port on the line <Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> and release it in the operating system firewall.

  • Hello Adilson, all right, well I’ll try and see if it’s right, because in fact this computer would be a server, they passed me the name of the server then I would put it in the place of the door?

  • Did you create the server or are you using a paid server with Tomcat? If you have access to the machine and need to install and configure Tomcat you need to release the port in the firewall. The default port is 8080. If you are a server dedicated to Tomcat, everything is already configured.

  • is a company server, but I need to connect it with my eclipse to deploy in the application the only thing they passed me was "Referring to the DEV server will be those lnx1281in lnx1282in."

  • to help with this information is difficult. Usually the developer has a local Tomcat, configured in his IDE, after programming the application is deployed to the server (testing, homologation or production).

  • Yes, this environment we have is a DEV environment, but I’ll get help with someone from the company, thanks anyway Adilson!

Browser other questions tagged

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