Recently I\'ve install Ubuntu 12.10 on my dev machine. also I\'ve installed apache 2.2 & Php 5.3.8 and Php 5.2.17 and MySQL. Everything works fine and I can browses my s
You should replace the listen line as shown below:
Listen 0.0.0.0:80
in my case i work on nestjs and
previously i run my project on app.listen(3001)
like this
first i change to this app.listen(3001,'192.168.xx.xx')
now i want to access my project on the another computer using ip on the network (LAN)
so it is now allow us to access any particular port after ip address
means if i access 192.198.xx.xx
then i can access the address.
but if i append port like this 192.198.xx.xx:3001
then it not let me allow to access ip address so in this case i resolve my problem by run following cmd
sudo service ufw stop
sudo iptables -nvL
sudo iptables -nvL|less
sudo iptables -F
Windows Firewall did not have an exception for port 80. Somehow IIS worked fine, but would not allow Apache port 80. Even disabling the Windows Firewall Service did not allow it.
Search Windows for "Firewall" and Create a new rule. Choose Port, enter 80, Call it: HTTP or whatever, Save. Restart Apache service.
Perhaps your Apache is bounded to localhost only. Look in your Apache configuration file (httpd.conf) for
Listen 127.0.0.1:80
and replace it with:
Listen 80
or
Listen *:80
Also check the Firewall settings, look for a the line below in the same file:
Allow from 127.0.0.1
and try changing it to:
Allow from all
I add Directory tag:
Options Indexes FollowSymLinks AllowOverride All Require all granted
Try:
sudo ufw allow from 192.168.1.5