0

Doesn't port 80/http need to be explicitly opened like other ports (such as 443/https or 8080/server), or is it a special case?

on my machine (CentOS Linux release 7.3.1611)

firewall-cmd --list-ports

8777/tcp 443/tcp 8080/tcp 8000/tcp

(nothing re: port 80)

1 Answer 1

0

http is service and will show in services query.

Use firewall-cmd –get-services to show current active services.

A service in firewalld is described as an xml file. There is one section named ports. Ports section of service http is 80.

1
  • ok, and I suppose http in the services list can be associated with port 80 via /etc/services. or is there a more direct association between service and port number? Commented Jul 17, 2017 at 2:46

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.