You are not the only one that gets pissed off especially if you run a webserver on your desktop / server and another application is using the same port. For example: Teamviewer

wamp1

 

The following is the procedure to change the default port number: (port80 for WampServer).

1) Locate the filename httpd.conf in your Wamp/Apache install.

For a WAMPSERVER2.2 install, its located at:

C:\wamp\bin\apache\Apache2.2.21\conf>dir
Volume in drive C has no label.
Volume Serial Number is 9203-A442

Directory of C:\wamp\bin\apache\Apache2.2.21\conf

wamp2

Open httpd.conf with your favourite editor and find the line with: "Listen 80". 80 is the port number, so change it to any number you want. I change mine to 8080.

wamp3

Restart your WAMPSEVER installation. Now, retype localhost:portnumber in your browser. Example: http://localhost:8080

wamp4

thats all folks

You have no rights to post comments