如題:
tcp6 0 0 [::]:10053 [::]:* LISTEN
tcp6 0 0 [::]:9094 [::]:* LISTEN
tcp6 0 0 [::]:xinetd [::]:* LISTEN
tcp6 0 0 [::]:7051 [::]:* LISTEN
tcp6 0 0 [::]:7053 [::]:* LISTEN
tcp6 0 0 [::]:7054 [::]:* LISTEN
tcp6 0 0 [::]:50000 [::]:* LISTEN
tcp6 0 0 [::]:8054 [::]:* LISTEN
tcp6 0 0 [::]:9050 [::]:* LISTEN
tcp6 0 0 [::]:9051 [::]:* LISTEN
tcp6 0 0 [::]:9053 [::]:* LISTEN
tcp6 0 0 [::]:zabbix-trapper [::]:* LISTEN
tcp6 0 0 [::]:9092 [::]:* LISTEN
uj5u.com熱心網友回復:
LISTEN狀態,這不是一條存在的連接,只是一個偵聽,表示系統在這些埠上等待客戶端來連接uj5u.com熱心網友回復:
但是我在別的機器上去telnet 這個ip 的50000埠時,telnet不通啊。uj5u.com熱心網友回復:
檢查兩個地方,一個是網路通不通,一個是埠開沒開。先檢查客戶端到這個IP之間,是不是可達,再到iptables或者firewalld檢查一下,有沒有把埠放行。
uj5u.com熱心網友回復:
還有selinuxuj5u.com熱心網友回復:
兩臺機器的ip肯定時可達的,因為兩臺機器在遠程登陸,埠應該也是放行的,所有埠都沒有限制。
uj5u.com熱心網友回復:
iptables 執行如下:root@iZ2zef1hubdcrpqe132hx4Z:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy DROP)
target prot opt source destination
DOCKER-USER all -- anywhere anywhere
DOCKER-ISOLATION all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain DOCKER (3 references)
target prot opt source destination
ACCEPT tcp -- anywhere 192.168.32.2 tcp dpt:7054
ACCEPT tcp -- anywhere 192.168.32.3 tcp dpt:7053
ACCEPT tcp -- anywhere 192.168.32.3 tcp dpt:7051
ACCEPT tcp -- anywhere 192.168.32.4 tcp dpt:7054
ACCEPT tcp -- anywhere 192.168.32.5 tcp dpt:7053
ACCEPT tcp -- anywhere 192.168.32.5 tcp dpt:7051
ACCEPT tcp -- anywhere 192.168.32.7 tcp dpt:7053
ACCEPT tcp -- anywhere 192.168.32.7 tcp dpt:7051
ACCEPT tcp -- anywhere 192.168.32.11 tcp dpt:9092
ACCEPT tcp -- anywhere 192.168.32.12 tcp dpt:9092
ACCEPT tcp -- anywhere 192.168.32.13 tcp dpt:9092
ACCEPT tcp -- anywhere 192.168.32.16 tcp dpt:7050
Chain DOCKER-ISOLATION (1 references)
target prot opt source destination
DROP all -- anywhere anywhere
DROP all -- anywhere anywhere
DROP all -- anywhere anywhere
DROP all -- anywhere anywhere
DROP all -- anywhere anywhere
DROP all -- anywhere anywhere
RETURN all -- anywhere anywhere
Chain DOCKER-USER (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/109641.html
標籤:網絡通信
上一篇:路由器是用什么方式或協議將自己的路由表發給鄰接的所有可訪問路由器的
下一篇:連接不上資料庫問題
