Skip to Content

Other day involved in changing the port of apache

20
Nov 2009

It was a simple task of accesssing the webpage from different box in a lan env, but for some crappy reason the wa3002g4 router won't allow the traffic to pass.Igniting the grey matter and a bit of googling found that most of the port in the router is blocked and those allowed are 80 and some other predefined services like tftp, telnet. The port 80 is reserved by the router to access the webadmin page. So thought of changing the port of my webserver to 8080.

NB:- I was able to ping between two boxes. Hmmmm

sudo vi /etc/apache2/ports.conf

sudo /etc/init.d/apache2 restart

I 'll let all the ports open using dmz and try to access the page.