Forum / NoMachine for Linux / How to change the listening port of nxagent? / Reply To: How to change the listening port of nxagent?
Hello, all!
Why nxnode opens these ports?
# netstat -anlpt |grep LISTEN |grep nxnode | sort
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
# nmap <IP>
Host is up (0.0033s latency).
Not shown: 988 closed ports
PORT STATE SERVICE
22/tcp open ssh
113/tcp filtered auth
631/tcp open ipp
4000/tcp open remoteanything
7001/tcp open afs3-callback
7002/tcp open afs3-prserver
7004/tcp open afs3-kaserver
7007/tcp open afs3-bos
7019/tcp open unknown
7025/tcp open unknown
7070/tcp open realserver
7100/tcp open font-service
# telnet <IP> 7002
Trying <IP>…
Connected to <IP>.
Escape character is ‘^]’.
^]
telnet> quit
Connection closed.