我无法通过“telnet 217.168.180.104 18000”连接某些 IP 地址;出现以下错误:telnet:无法连接到远程主机:连接被拒绝..套接字连接错误。ufw 已禁用,mikrotik(217.168.180.104) 的配置是正确的。请给出任何建议....以解决这个问题..
raul@raul-Aspire-E1-572G:~$ telnet 217.168.180.104 18000
Trying 217.168.180.104...
telnet: Unable to connect to remote host: Connection refused
raul@raul-Aspire-E1-572G:~$ netstat --numeric-ports -l | grep 18000
tcp 0 0 0.0.0.0:18000 0.0.0.0:* LISTEN
raul@raul-Aspire-E1-572G:~$ netstat --numeric-ports -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:631 0.0.0.0:* LISTEN
tcp 0 0 localhost:5432 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:18180 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:18000 0.0.0.0:* LISTEN
tcp 0 0 localhost:53 0.0.0.0:* LISTEN
tcp6 0 0 ip6-localhost:631 [::]:* LISTEN
udp 0 0 0.0.0.0:35145 0.0.0.0:*
udp 0 0 0.0.0.0:40317 0.0.0.0:*
udp 0 0 localhost:53 0.0.0.0:*
udp 0 0 0.0.0.0:49663 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp 0 0 0.0.0.0:50246 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:54575 0.0.0.0:*
udp6 0 0 [::]:59885 [::]:*
udp6 0 0 [::]:5353 [::]:*
raw6 0 0 [::]:58 [::]:* 7
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 43563 @/tmp/.ICE-unix/1730