Why does IntelliJ want to accept incoming network connections?

后端 未结 2 1874
滥情空心
滥情空心 2020-12-31 02:34

➠ What feature in IntelliJ is acting as a server to accept incoming connections?

When first running IntelliJ 2017.1.1 I get a dialog box asking permission for incomin

2条回答
  •  萌比男神i
    2020-12-31 02:45

    Problably it is linked to the below.

    If you click on http://localhost:63342/ you should be able to access the built-in server. Which by default should listen only on the local interface.

    Open port in range 6942-6992 seems to be linked to SocketLock.java

    myServer = BuiltInServer.startNioOrOio(workerCount, 6942, 50, false, handler);
    

    note: Ports 6953, 6969, 6970 are excluded from that range. See BuiltInServer.java

    private static final int[] FORBIDDEN_PORTS = {6953, 6969, 6970};
    

    Another open port is linked to a process org.jetbrains.idea.maven.server.RemoteMavenServer

    jps -l | grep jetbrains
    24628 org.jetbrains.idea.maven.server.RemoteMavenServer
    

    You could find out open port with netstat

    on Linux: `netstat -ltupne`
    on OSX (something like): nettop -np java
    

    and the related java processes with jps (as show above)

提交回复
热议问题