查看本机IP: ifconfig
查看80端口: netstat -tunlp | grep 80
IP地址设置: sudo gedit /etc/network/interfaces
Linux监听端口测试 nc -l 0.0.0.0 6066
更多
客户端扫描端口是否开放 nc -v host port
更多
#添加以下内容:
auto eth0 #设置自动启动eth0接口
iface eth0 inet static #配置静态IP
address 192.168.11.88 #IP地址
netmask 255.255.255.0 #子网掩码
gateway 192.168.11.1 #默认网关