R08 版本新增设备自动部署功能,独立占用 TCP 80、443 端口;就算关闭 ip http/ip https,该组件默认开启,端口依旧监听Hewle...。
#查看状态
display autodeploy url
#关闭该组件,释放80/443
system‑view
undo autodeploy url enable
save
关闭后,
display tcp80、443 端口会消失;不需要重启设备,配置立即生效Hewle...。
部分 MSR 版本内置轻量 http 服务,独立占用 80 端口,和 ip http 不是同一个进程H3C。
display light‑http server
system‑view
undo light‑http server enable
如果配置了 web‑auth portal,portal 后台会占用 80 端口做重定向,哪怕管理 web 关闭,portal 依旧监听 80 端口。
display web‑auth
#如果不需要portal认证,删除web‑auth相关配置
restful http 会占用 80 端口;restful https 占用 443 端口H3C。
display restful
system‑view
undo restful http enable
undo restful https enable
#查看http/https管理服务状态,确认管理web已经关闭
display ip http
display ip https
#查看TCP监听详情,可以看到本地端口对应的内部服务
display tcp verbose
system‑view
#关闭设备管理WEB
undo ip http enable
undo ip https enable
#关闭自动部署(最关键,解决端口残留监听)
undo autodeploy url enable
#关闭轻量web服务
undo light‑http server enable
#关闭restful接口
undo restful http enable
undo restful https enable
save
配置完成,再执行display tcp确认 80、443 端口不再存在 LISTEN 条目。
暂无评论
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论