Solved

Port settings

Posted on 2014-09-18
8
201 Views
Last Modified: 2014-09-18
When installing a web server (apache) I find port 80 is already taken. For reasons of simplicity I'd like to assign port 80 to the web server. How can that be accomplished?
0
Comment
Question by:lericson
  • 4
  • 2
  • 2
8 Comments
 
LVL 21

Expert Comment

by:mcsween
ID: 40330124
If port 80 is already open you likely have IIS installed.  You can either remove IIS, change the port on the site, shutdown the site, or shutdown IIS.

If IIS is not installed you can find the PID of what is listening on that port by running the following command and look for the local address that ends with :80 (it could be 0.0.0.0 or the actual IP of the system preceding the port)
netstat -ano

Open in new window

You can then open task manager, and click the processes tab
Click View, Select Columns and add the PID and command line columns
Find the PID and look at the command line that was used to start it and you've found your culprit.  Get rid of them or move them to another port and Apache should be good to run on 80.
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 40330273
you may also have Skype enabled go to the Skype advanced options and connection and uncheck use port 80/443
0
 

Author Comment

by:lericson
ID: 40330434
Thanks for replies!

I have changed configuration of Skype to David Johnson's suggestion and restarted the system.

Following mcsween's suggestion, I get this:

Name        PID      Username        Command line
System       4         SYSTEM             (empty)

Does this tell you guys anything?
0
 

Author Comment

by:lericson
ID: 40330445
Furthermore, when XAMPP Control Panel is started, it shows:

Problem detected!
Port 80 in use by "Unable to open process" with PID 4!
Apache WILL NOT start without the configured ports free!
You need to uninstall/disable/reconfigure the blocking application
or reconfigure Apache and the Control Panel to listen on a different port
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 40330481
what happens when you do a http:\\localhost
0
 

Author Comment

by:lericson
ID: 40330502
It shows page can't be found
0
 
LVL 21

Accepted Solution

by:
mcsween earned 500 total points
ID: 40330811
PID 4 is the system process.  It's loading http.sys driver for some reason.

Change the following registry key and reboot then try again.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Start = 4
0
 

Author Closing Comment

by:lericson
ID: 40331399
Thanks! Worked great.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unable install Internet Explorer 11 on Windows 7 pro sp1 21 102
cannot unmapped a network drive 10 78
SQL Server error 26 104
Upgrade from Win7 Premium to Pro? 3 21
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now