一:防火墻沒關
liunx 7:
????1、暫時: ? ? ? ?
????????????開啟: service iptables start
????????????關閉: service iptables stop
? ?? 2、永久:
? ? ? ? ? ? 開啟: chkconfig iptables on
? ? ? ? ? ? 關閉: chkconfig iptables off
linux 6.8:
????????????# vi /etc/selinux/config
????????????//設置SELINUX=disabled
????????????# systemctl stop firewalld? 臨時關閉防火墻
????????????# systemctl disable firewalld 停止并禁用開機啟動
????????
二:端口被占用
? ? ? ? win+R -----> cmd?
? ? ? ? 查看全部端口: netstat -ano
? ? ? ? 查看指定端口:netstat -ano | findstr 端口號
? ? ? ?? 結束進程:tasklist | findstr 端口號
? ? ? ? ? 結果是:svchost.exe
三:端口不符合公司安全要求,被封
? ? 沒辦法,打電話問問