CalebKing3
CalebKing3

Reputation: 154

Intellij IDEA Tomcat Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099

I am using Intellij Ultimate edition 14.0.2

Working on a Java project using Maven as my build tool.

We are getting this error when attempting to launch my project via Tomcat server.

Application Server was not connected before run configuration stop, reason: Unable to ping server at localhost:1099

Have attempted, mvn clean install, rebuild the project in intellij, open and shut down intellij.

Upvotes: 10

Views: 38833

Answers (3)

The following solution worked for me, i experienced the same error at some point;

  1. Click on Tomcat in your IntelliJ, and then Edit Configurations. On the Startup/Configuration tab, click Debug, on debug properties i have added 52112 as Port number and it worked. enter image description here

Upvotes: 0

CalebKing3
CalebKing3

Reputation: 154

Thanks for the feedback everyone. I ended up editing my host file to reference my computer name. I have not been able to recreate the issue.

Solved for now.

Upvotes: 3

Vy Do
Vy Do

Reputation: 52576

Your problem is rarely ambiguous. You should check connection between IntelliJ IDEA and Tomcat Server. Checklist like marked points:
+ Configure Tomcat Server.
+ Before launch application server, you must configure to add artifacts to application sever.
+ Turn off other Tomcat server(s) in your computer (localhost)
etc.

enter image description here

Upvotes: -1

Related Questions