Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't stop IIS in windows 7

Tags:

windows

iis

I can't seem to stop IIS (or whatever it is) running on port 80 on windows 7.

I've stopped all sites on IIS, as well as all application pools.

As the Administrator, I've tried:

net stop IIsadmin

net stop w3svc

When I telnet to localhost, on 80, I can attempt "GET index.html"

I get this (as expected)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Not Found</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Not Found</h2>
<hr><p>HTTP Error 404. The requested resource is not found.</p>
</BODY></HTML>

When I telnet, but send garbage ( "asdf" ), I get:

HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Wed, 26 Oct 2011 23:23:41 GMT
Connection: close
Content-Length: 326

How can I make whatever this is running no longer run?

like image 712
Derrick Avatar asked Oct 26 '11 23:10

Derrick


2 Answers

try

net stop msdepsvc

I've had that tie up port 80 before

EDIT:

Also, you can check what PID is tying up the port by using:

netstat -aon
like image 128
hex4def6 Avatar answered Nov 20 '22 03:11

hex4def6


Try:

iisreset /stop

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/95826e7a-bac4-4e1f-bcb6-c52d49c9d7f4.mspx?mfr=true

Might not be IIS though.

The process might be a system process. For example, see the post

http://hardforum.com/showthread.php?t=1362841

In that case, it ended up being Windows Remote Management??

like image 12
bryanmac Avatar answered Nov 20 '22 03:11

bryanmac