Apache server allows access from local network


Matthew Meehan optional

I've installed fedora server but can't seem to get web requests through it. I can ping it, and as far as I can tell, apache is functioning fine on the computer.

I listen on httpd.conf as

Listen *:80

and the server name is

ServerName 192.168.1.133:80

The reason is that it complains about it in the console, but it doesn't seem to work with or without the line

[root@localhost conf]# cat /etc/redhat-release
Fedora release 21 (Twenty One)

[root@localhost conf]# netstat -ntulp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      1384/smbd
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      1384/smbd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      826/sshd
tcp6       0      0 :::443                  :::*                    LISTEN      1044/httpd
tcp6       0      0 :::445                  :::*                    LISTEN      1384/smbd
tcp6       0      0 :::9090                 :::*                    LISTEN      1/systemd
tcp6       0      0 :::139                  :::*                    LISTEN      1384/smbd
tcp6       0      0 :::80                   :::*                    LISTEN      1044/httpd
tcp6       0      0 :::22                   :::*                    LISTEN      826/sshd
udp        0      0 0.0.0.0:68              0.0.0.0:*                           945/dhclient
udp        0      0 192.168.1.255:137       0.0.0.0:*                           1441/nmbd
udp        0      0 192.168.1.113:137       0.0.0.0:*                           1441/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                           1441/nmbd
udp        0      0 192.168.1.255:138       0.0.0.0:*                           1441/nmbd
udp        0      0 192.168.1.113:138       0.0.0.0:*                           1441/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                           1441/nmbd
udp        0      0 0.0.0.0:52142           0.0.0.0:*                           945/dhclient
udp6       0      0 :::41117                :::*                                945/dhclient
Chris Davidson

Apache requests are blocked on the firewall. Run the following command to allow all requests through the firewall. firewall-cmd --zone=public --add-port=80/tcp firewall-cmd --reload

It should also be possible to use the following command instead of allowing port 80; use the following command instead. firewall-cmd --add-service=http firewall-cmd --reload

Related


Apache server allows access from local network

Matthew Meehan optional I've installed fedora server but can't seem to get web requests through it. I can ping it, and as far as I can tell, apache is functioning fine on the computer. I listen on httpd.conf as Listen *:80 and the server name is ServerName 19

Alfresco, access server from local network

Ascend I am trying to perform in the open air. It is installed on the local server. Tomcat is the web server used by Alfresco to provide access to the web panel. The default ip is: 127.0.0.1:8080; Now, I want to gain access from another local computer. The IP

Access the local server from other computers on the network

learner I have a server on my computer and it is set --address=0.0.0.0up so that it can be accessed from other computers in the network. Now my question is, what address do other computers type as they can access the server? On the managed computer, I can do i

Alfresco, access server from local network

Ascend I am trying to perform in the open air. It is installed on the local server. Tomcat is the web server used by Alfresco to provide access to the web panel. The default ip is: 127.0.0.1:8080; Now, I want to gain access from another local computer. The IP

Alfresco, access server from local network

Ascend I am trying to perform in the open air. It is installed on the local server. Tomcat is the web server used by Alfresco to provide access to the web panel. The default ip is: 127.0.0.1:8080; Now, I want to gain access from another local computer. The ser

Access the local server from other computers on the network

learner I have a server on my computer and it is set --address=0.0.0.0up so that it can be accessed from other computers in the network. Now my question is, what address do other computers type as they can access the server? On the managed computer, I can do i

Alfresco, access server from local network

Ascend I am trying to perform in the open air. It is installed on the local server. Tomcat is the web server used by Alfresco to provide access to the web panel. The default ip is: 127.0.0.1:8080; Now, I want to gain access from another local computer. The ser

Unable to access Apache web server outside/inside local network

Onemic My apologies if any technical terms are used in the wrong way. I'm still new to Linux/Networking I've been trying to solve this problem for over a week now, and all the related questions from other people haven't helped me. I recently set up a webserver

Unable to access Apache web server outside/inside local network

Onemic My apologies if any technical terms are used in the wrong way. I'm still new to Linux/Networking I've been trying to solve this problem for over a week now, and all the related questions from other people haven't helped me. I recently set up a webserver

Access client printers on the local network from the local server

Naruto Uzumaki I'm testing a website with two computers connected via router and ethernet cable, one of the PCs has a WAMP website on it and acts as a server. Everything is fine and working, but there is one problem. I have written PHP to print the final recei

Access client printers on the local network from the local server

Naruto Uzumaki I'm testing a website with two computers connected via router and ethernet cable, one of the PCs has a WAMP website on it and acts as a server. Everything is fine and working, but there is one problem. I have written PHP to print the final recei

Access client printers on the local network from the local server

Naruto Uzumaki I'm testing a website with two computers connected via router and ethernet cable, one of the PCs has a WAMP website on it and acts as a server. Everything is fine and working, but there is one problem. I have written PHP to print the final recei

Access client printers on the local network from the local server

Naruto Uzumaki I'm testing a website with two computers connected via router and ethernet cable, one of the PCs has a WAMP website on it and acts as a server. Everything is fine and working, but there is one problem. I have written PHP to print the final recei

Unable to access Apache virtual host from local network

username I have setup a virtual host with Apache2 using the following configuration: <VirtualHost *:8080> ServerName example.com DocumentRoot /var/www/example.com </VirtualHost> The website can be accessed from outside. example.com However, if I ente

Unable to access Apache virtual host from local network

username I have setup a virtual host with Apache2 using the following configuration: <VirtualHost *:8080> ServerName example.com DocumentRoot /var/www/example.com </VirtualHost> The website can be accessed from outside. example.com However, if I ente

Unable to access Apache virtual host from local network

username I have setup a virtual host with Apache2 using the following configuration: <VirtualHost *:8080> ServerName example.com DocumentRoot /var/www/example.com </VirtualHost> The website can be accessed from outside. example.com However, if I ente

Unable to access Apache virtual host from local network

username I have setup a virtual host with Apache2 using the following configuration: <VirtualHost *:8080> ServerName example.com DocumentRoot /var/www/example.com </VirtualHost> The website can be accessed from outside. example.com However, if I ente