Reply To: How to change the listening port of nxagent?

Forums / NoMachine for Linux / How to change the listening port of nxagent? / Reply To: How to change the listening port of nxagent?

#2940
Avatargraywolf
Moderator

tcp        0      0 0.0.0.0:7001                0.0.0.0:*                   LISTEN      20758/nxnode.bin

tcp        0      0 0.0.0.0:7002                0.0.0.0:*                   LISTEN      26853/nxnode.bin

tcp        0      0 0.0.0.0:7003                0.0.0.0:*                   LISTEN      16466/nxnode.bin

tcp        0      0 0.0.0.0:7004                0.0.0.0:*                   LISTEN      21998/nxnode.bin

Those ports are the TCP X11 display ports. You have four node processes. Each node is listening on a different X11 display.

In X11, the port number and the display have a fixed offset of 6000, that is TCP Port = Display Number + 6000.

So that, those nodes are listening on X11 displays :1001, :1002, :1003, :1004. NoMachine is set to begin display count at 1001. New node processes will get progressive numbers.