Answer the question
In order to leave comments, you need to log in
How to open a port on CentOS 6?
Hello.
On the Internet, they write that the ports are opened by the command
iptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
iptables --line-numbers -n -L
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
nmap IP_адрес
PORT STATE SERVICE
22/tcp open ssh
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question