Port 1099 error when configuring Tomcat on IntelliJ

Asked 2 years ago, Updated 2 years ago, 140 views

Hello.

I would like to ask you a quick question: IntelliJ, version 15 on your Mac, web server (Tomcat 8.0)
The 1099 port is not available during configuration.

The following message appears on the console:

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

By the way, I checked a little bit from Stack Overflow and tried the following.

/ Set the hostname in /etc/hosts.
②Set the hostname on your Mac.

I'll add it.
etc/hosts
127.0.0.1 localhost

Hostname configured on the Mac: localhost
JAVA is version 8.

After doing the above, I tried restarting the web server, but the result was no good.

Thank you for your cooperation.

macos tomcat intellij-idea

2022-09-29 22:10

1 Answers

This is the history that I solved myself.

US>IntelliJ's java setting as the JVM of the system
Changed to load and resolved.

Changed both IDE overall and project settings.

(The existing configuration was IntelliJ basic JVM.
I think it was probably a path problem for JVM.)


2022-09-29 22:10

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.