2

I am trying to connect a client-server system on a laptop, build using visual studio 2008. and i got this error

No Connection could be made because the target machine actively refused it 127.0.0.1:8;

I have tried the PC's IP address but not sure which port to use and how to check which port is used. I also ticked all private and public checkboxes in the firewall options to all them.

any clue why the error keeps on appearing?

Luqman
  • 249
  • 4
  • 25
  • This error appears because you cannot use that port to connect to it. If it's not listening on port "8", then it will refuse a connection there. – Simon Whitehead Nov 05 '12 at 03:39
  • http://www.lextm.com/2012/10/already-in-use-then-who-uses-it.html – Lex Li Nov 05 '12 at 06:11
  • What's the server? Why do you not know which port it's listening on? – Jon Skeet Nov 05 '12 at 07:16
  • got it. i use netstat to figure it out. thanks guys! – Luqman Nov 06 '12 at 12:00
  • I think it'd be better if you write your answer don there to make your post useful – Alaa Eldin Mar 14 '13 at 15:29
  • Possible duplicate of [No connection could be made because the target machine actively refused it?](https://stackoverflow.com/questions/2972600/no-connection-could-be-made-because-the-target-machine-actively-refused-it) – Patrick Jan 22 '19 at 15:03

0 Answers0