D
D
Dmitry2017-08-07 22:14:02
PHP
Dmitry, 2017-08-07 22:14:02

How to enter the port?

In the script config, I registered the port with ip


# Port used for HTTP management interface
#
http-mgmt-port 8080
#
# IP addresses allowed to access the HTTP management interface, one
# per line
#
#http-access 127.0.0.1 monitor
#http-access 10.1.0.10 none
#http- access 10.1.0/24 admin
http-access 18.209.XXXXXX admin

But at the request of IP: 8080 I can’t get in, what could be the matter?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2017-08-07
@good_br

I found a solution, the point was that the ports were closed. Here are the commands to open:
iptables -I INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT
iptables -I INPUT -p tcp --dport 443 -m state --state NEW -j ACCEPT
save it all case
service iptables save
and restart iptable
/etc/init.d/iptables restart
All the success

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question