Last post Oct 26, 2012 12:06 PM by sheamus
Oct 18, 2012 12:26 AM|sheamus|LINK
I know there are tons of these threads around the net, and on this forum. None of the solutions seem to work for me.
I tried to do a web deploy from my development machine and it tells me that the connection times out. So I turned off the firewall on the server (it was already off on development machine), and tried again. Now I get a different error almost instantly: No
connection could be made because the target machine actively refused it 192.168.248.128:8172. That seems weird.
From the server I tried telnetting to localhost host 8172 using putty.exe, and I get a connection closed by host/connection refused error.
From command prompt, if I do a netstat -ano I do not see anything listening on port 8172. Should I not see MsDevSvc listening on 8172?
What am I missing? If there is any more information required to get a solution, let me know. I am at my wit's end.
Oct 18, 2012 02:07 AM|HostingASPNet|LINK
You should check if:
1. You have installed antivirus software. (you should enable connections on external ports)
2. If your user (what user you are using to make the connections) have the rights to connect remotely on the server.
Oct 18, 2012 11:29 AM|sheamus|LINK
I have Windows Security Essentials installed, but no other AV/security software.
I can remote desktop into the server.
Even though firewall is turned off, the Allow Web Management Service (HTTP Traffic-In) is enabled.
Anything else I can test?
Oct 18, 2012 12:23 PM|sheamus|LINK
I notice that I can't FTP in either... I get the same error, actively refused.
FTP and MSDEPLOY should be using basic authentication, so the Local Security Policy shouldn't be the problem should it?
Weird that RDP works, and that I can get to my websites.
Oct 18, 2012 12:49 PM|sheamus|LINK
To further that, even from the local machine 'ftp localhost' gives me ftp> prompt but when I try to execute a command it tells me I am not connected. That makes sense, as netstat does not even show ftp running.
In services I can see that the Microsoft FTP Service is enabled, and it shows the status as started.
Oct 19, 2012 09:23 PM|necro_mancer|LINK
if you mentioned that the FTP does not work, can you please try to TELNET to port 21? Do you see any error message? If you mentioned that the FTP service is started, it means that the FTP actually does listen to port 21. Now, the problem is whether port 21
is blocked or not.
Oct 20, 2012 03:10 AM|sheamus|LINK
I get the same response as on 8172. I tried from my desktop to server, and on server to localhost. Both times I got an error:
Connecting To myserver...Could not open connection to the host, on port 21: Connect failed
Microsoft FTP Services shows started/automatic.
Though as I said netstat doesn't show anything listening on port 21, like I would expect it to.
C:\Users\Me>netstat -ano -p tcp
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 688
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING 408
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING 844
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING 512
TCP 0.0.0.0:49155 0.0.0.0:0 LISTENING 904
TCP 0.0.0.0:49156 0.0.0.0:0 LISTENING 504
TCP 0.0.0.0:49157 0.0.0.0:0 LISTENING 2396
TCP 172.16.1.81:139 0.0.0.0:0 LISTENING 4
I noticed that IIS has a setting for FTP called SSL. It was set to required, so changed to to SSL allowed. But the error message stays the same.
Looking in my c:\inetput\logs dir, I don't see anything to do with FTP to even see what is going on:
I snooped around the event log, but didn't find anything to do with FTP.
Oct 24, 2012 02:02 AM|sheamus|LINK
I did a fresh re-install, and used Web PI to install IIS with recomended settings, and MS Deploy 3.0. Still same problem.
Oct 25, 2012 10:18 PM|Angie xu - MSFT|LINK
Please refer this about
Automating Deployment with Microsoft Web Deploy , Microsoft Web Deploy – which is a free server technology that enables a comprehensive publishing and deployment mechanism. Web Deploy enables you to not only publish files – but also provision database
schema/data, run database change scripts, set security ACLs, and more. All of these deployment steps can be automated using Visual Studio.
It provides other way for web deploy, hope it helps you.
Oct 26, 2012 12:01 PM|sheamus|LINK
If you read my first post, I can't connect to MSDepSvc either. It's like a firewall is blocking it, even though I have the firewall disabled.
I can telnet to port 80, but not 21 or 8172.
Oct 26, 2012 12:06 PM|sheamus|LINK
Would this be covered under my 90 day purchase support for w7? It seems I am going ot have to phone microsoft.