Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Newb Installing Apache/PHP Locally for Web Dev Port 80 vs 8080


  • Please log in to reply
2 replies to this topic

#1 ARNKUSA

ARNKUSA

  • Members
  • 9 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:40 AM

Posted 21 October 2016 - 02:44 PM

Hi there.
 
So this a very basic question, I'm on a Windows 64-bit machine, installing Apache and PHP to my local machine for web development purposes. 
 
So everything is fine, but in order to get to the "It Works!" page, I have to type in http://localhost:8080. That is what's configured in httpd.conf, Listen on 8080. But when I try Listen on 80, the browser says "This Page Can't Be Displayed". That is when I type either http://localhost or http://localhost:80.
 
I ran .bat file to check what was listening on port 80 and it's httpd.exe. Shouldn't I be able to access this page using just http://localhost?
 
Thank you for any insight.

Edited by Chris Cosgrove, 21 October 2016 - 04:18 PM.
Moved from Win 10 to Networking.


BC AdBot (Login to Remove)

 


#2 DefaultGateway

DefaultGateway

  • Members
  • 187 posts
  • OFFLINE
  •  
  • Local time:02:40 PM

Posted 22 October 2016 - 08:23 AM

I currently don't have XAMPP or something similar installed on my system.

But maybe you should type localhost and not http://localhost



#3 Sam00

Sam00

  • Members
  • 30 posts
  • OFFLINE
  •  

Posted 22 October 2016 - 10:28 AM

You need edit httpd.conf file. Add or replace line with "Listen 80".


Edited by Sam00, 22 October 2016 - 07:54 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users