服务器IP 172.30.251.90
笔记本IP 172.16.26.187
服务器上在8080端口上了httpd服务器.
[root@rhel7 ~]# netstat -an |grep 8080
tcp6 0 0 :::8080 :::* LISTEN
[root@rhel7 ~]#
服务器的firewalld 配置,将
[root@rhel7 ~]# firewall-cmd --list-all-zone
...........
trusted
interfaces:
sources: 172.16.26.0/24
services:
ports:
masquerade: no
forward-ports: port=8443:proto=tcp:toport=8080:toaddr=
icmp-blocks:
rich rules:
...........
使用笔记本 telnet 服务器的 8080,8443 端口均可以通。但是通过浏览器访问
http://172.30.251.90:8080 可以正常访问, 访问http://172.30.251.90:8443 异常,报错为:
连接被重置
载入页面时与服务器的连接被重置。
此站点暂时无法使用或者太过忙碌。请过几分钟后再试。
如果您无法载入任何网页,请检查您计算机的网络连接状态。
如果您的计算机或网络受到防火墙或者代理服务器的保护,请确认 Firefox 已被授权访问网络。