IntelliJ IDEA - Localhost Address: 1099 is already in use

I try to run with IntelliJ IDEA web application, but I get an error message: localhost:1099 already in use.

port 1099 is already in use

I checked port 1099 with lsof -i:1099many other relative commands as well, so I'm sure port 1099 is free.

This is my current configuration:

configs

I also changed JMX portto 6666 and 6667 and 6668 ... and it does not work, so I think this is not related to the port itself.

I'm so confused ... Has anyone else had this problem?

Any help is appreciated

+9
source share
7 answers

cmd command netstat-ano: cmd command tasklist:

  • In the first step of the command line, run the command:

    netstat –ano
    

    Visible, PID of process 1099 of process - 6072.

  • :

    tasklist
    
  • , , java.exe

    2 java.exe, .

  • , tomcat

+3

hosts,

, localhost: localhost ipv6,

, ::1 localhost hosts, !

+2

.

ps -C java -o pid

. . java, ,

pkill java

intelliJ.

+1

java- O.S, , - .

0

1. IDE -- 2. , java, (java (TM) Platform SE)

: 1099 java.exe(http://www.nirsoft.net/utils/cports.html ( ))

. intellij, netbeans. Intellij, . netbean intellij.

0

. . , Windows.

CMD .

netstat -aon | find "1099"

, - .

TCP    xxx.xx.xx.xx:1099      xx.xx.xx.xxx:443      ESTABLISHED     2222

(2222) (PID).

.

taskkill /F /PID 2222

.

0

Thanks @ Doolit De Costa, Perfect answer

netstat -aon | find "1099"

taskkill / F / PID "Process ID"

Now you can start your server.

0
source

Source: https://habr.com/ru/post/1651467/


All Articles