Today when accessing the server needs to open a port 8081 can not open the prompt to deny access
Unable to access this site
XX.XXX.XXX.XXX refused our connection request.
Try the following way:
- Check your network connection
- Check the proxy server and firewall
ERR_CONNECTION_REFUSED
But when the access port 80 is good
Information collected from online face
Detailed tutorial under linux iptables firewall
If your server does not iptables firewall
1, stop and shield firewalld service
systemctl STOP firewalld
systemctl mask firewalld
2, install iptables-services package
yum install iptables-services
3, iptables service is enabled at boot
systemctl enable iptables
4, start the iptables service
systemctl Start iptables
5, save the firewall rules
service iptables save
or
/usr/libexec/iptables/iptables.init save
another: iptables management services
systemctl [stop | start | restart] iptables
systemctl STOP firewalld
systemctl mask firewalld
2, install iptables-services package
yum install iptables-services
3, iptables service is enabled at boot
systemctl enable iptables
4, start the iptables service
systemctl Start iptables
5, save the firewall rules
service iptables save
or
/usr/libexec/iptables/iptables.init save
another: iptables management services
systemctl [stop | start | restart] iptables
If you hit a period
Failed to start firewalld.service: Unit is masked error
Lock execute the command, you can achieve canceled services
# systemctl unmask firewalld
Currently this error is a firewall issue