方便快捷:
netstat :查看所有端口使用情况
netstat -nl|grep 8090 查看端口8090服务是否起来。
[root@redhat1 bin]# netstat -nl|grep 8081
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN
回显此信息证明此端口已经开放,正常情况下,可提供对外服务。反之,则Grep 无结果。
方便快捷:
netstat :查看所有端口使用情况
netstat -nl|grep 8090 查看端口8090服务是否起来。
[root@redhat1 bin]# netstat -nl|grep 8081
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN
回显此信息证明此端口已经开放,正常情况下,可提供对外服务。反之,则Grep 无结果。