端口一般都是伴随着服务的,重启了服务也就重启了端口。如ssh 是22端口,stopsrc -s sshd start -s sshd 就可以重启22端口的监听。
端口不存在重启一说,只能重启侦听该端口的程序