Linux Apps Tutorials - Herong's Tutorial Examples - v1.03, by Herong Yang
Enable Remote Access to "httpd" Service
This section provides a tutorial example on how to enable remote access Web pages served by the 'httpd' service by opening the firewall for 'http' service default port 80.
Once Apache HTTP Server, httpd, is up and running, you may want to open the firewall to all users to access its Web pages remotely by following what I did on my CentOS computer.
1. Verify that httpd is listening to port 80:
herong$ nmap localhost Nmap scan report for localhost (127.0.0.1) Host is up (0.00017s latency). Other addresses for localhost (not scanned): ::1 Not shown: 989 closed ports PORT STATE SERVICE 22/tcp open ssh 80/tcp open http ...
2. Open the firewall for "http" service, which use the default port 80:
herong$ sudo firewall-cmd --zone=public --add-service=http success herong$ sudo firewall-cmd --runtime-to-permanent success
3. Go to another computer on the local network and access the default Web page using IP address: http://192.168.1.100. I see the "HTTP SERVER TEST PAGE":
This confirms that my Web site can be accessed remotely.
Table of Contents
►Running Apache HTTP Server (httpd) on Linux Systems
What Is Apache HTTP Server "httpd"
Install Apache HTTP Server "httpd"
►Enable Remote Access to "httpd" Service
"apachectl status/start/stop" Commands
Verify Apache HTTP Server "httpd" Environment
Requirements for Supporting HTTPS on Apache
Web Server Certificate and Required Fields
Apache Configuration for HTTPS Protocol
Common Issues with Apache HTTPS Support
Listen to Non-Standard Ports with Apache
Running Apache Tomcat on Linux Systems
Running PHP Scripts on Linux Systems
Running MySQL Database Server on Linux Systems
Running Python Scripts on Linux Systems
Conda - Environment and Package Manager