TCP communication in Vista

I have a very simple application that I am trying to run under TCP using WCF 3.5 on Vista Enterpise. The error I get when trying to get into a WCF service on http: // localhost: 8080 (or any other port not reserved by http):

TCP error code 10061: The connection could not be completed because the target computer actively rejected it 127.0.0.1:8080.

I got this to work a few months ago, but I forgot how to do it. I am wondering if I have a port or something ... I tried to allow the compiled executable through windows firewall and tried to open port 8080 for TCP through the firewall, but I get the same error. Any thoughts or ideas on where to look or what to check?

Thank!

+1


source to share


2 answers


Try going to http: // machinename: 8080 - I had Vista based on which firewall differences were made, especially if the Loopback adapter was installed



+1


source


No cubes. Changing localhost to machine name prevents me from logging in.

It's not http which has the problem ... localhost works fine there too. But everything I tried to do with tcp failed with the same error. Completely disappointing as I know I've seen this work in this box before.



Edit to include comment: Just FYI finally found the problem. Something was incorrectly specified in the service configuration file. I would like the error to be a little clearer, but it's okay. Thank!

0


source







All Articles