I created my own hosting server using wsHttpBinding . I am running a Windows 2003 R2 SP2 server.
If I set it to listen to http://localhost:443/MyService , everything will be fine. I can connect to http://localhost:443/MyService using Internet Explorer, and I get the standard Bad Request message
Now, if I try to switch to HTTPS, I observe a strange phenomenon.
Here is what I did:
Please note that the certificate I used is a βreal certificateβ (ie issued by a trusted CA, namely Comodo). The server responds to ping on the NS specified in the certificate.
Now the following timeout:
Microsoft Telnet> open localhost 443
Here's the output from netstat (The Pid '4' is the "System" process):
netstat -nao Proto Local Adress Remote Adress State Pid TCP 0.0.0.0:443 0.0.0.0:0 Listening 4
And here is a screenshot from TCPView captured when I issued the open command on telnet:
alt text http://img26.imageshack.us/img26/3376/tcpview2si6.jpg
I am a little puzzled. For me, if netstat says that the server is listening on 443, the telnet connection to 443 should not time out, and I should have at least a blank prompt waiting for me to type some encrypted files :)
So far I have tried:
- Repeat all steps from scratch following MSDN instructions
- Used port 10443 instead of 443
- Disable firewall
- Use a self-signed certificate
I donβt know what to try next .. any ideas?
Brann source share