I'm a new to web programming. I am learning ASP.NET in VS2010 and PHP in Netbeans, using XAMP. I'm having problems debugging my tutorials because they both use http://localhost. When I try to run VS2010 code, I get some error, apparently because http://localhost is assigned to XAMP. I'm having to uninstall XAMP prior to running VS2010 code. This apparently has to do with port numbers and it seems both programs are trying to access the same port. How can I change port number on either of the programs, if that's the solution; and if not, can someone please help me with this. Would greatly appreciate.