Click here to Skip to main content
14,980,591 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Am having trouble sending information to a server when the client and server are on different system. but when the Client and Server are on one system everything works perfectly ok.i Get this Exception every time and i have turn off windows firewall

Could not connect to net.tcp:// The connection attempt lasted for a time span of 00:00:01.1062670. TCP error code 10061: No connection could be made because the target machine actively refused it
Updated 25-Oct-12 4:34am
Richard MacCutchan 25-Oct-12 9:33am
Please try being more specific. Edit your question and explain exactly what problem you are having; saying you have "a problem" does not give us anything to go on.
Bello Ibraheem 25-Oct-12 10:35am
Thanks Richard. i Have tried improving the Question

1 solution

Your firewall is blocking port 8080. You have to "punch a hole" in it to allow inbound connections on that port.
Bello Ibraheem 25-Oct-12 10:42am
How will i "Punch a hole" in it? Because i need to make a big hole there
Dave Kreskowiak 25-Oct-12 12:45pm
Configure your firewall to allow inboud connections on port 8080. I can't tell you how to do that because I have no idea what firewall software you're using.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900