problem with connection

Reply

Join Date: Apr 2009
Posts: 1
Reputation: mad_girl is an unknown quantity at this point 
Solved Threads: 0
mad_girl mad_girl is offline Offline
Newbie Poster

problem with connection

 
0
  #1
Apr 5th, 2009
I'm testing a simple c# application with server and client both working on the same machine ,client try to connect to server using external ip but i keep getting this message "No connection could be made because the target machine actively refused it".
I port forwarded my server manually and using UPNP and checked the port and it's open ,all firewalls(windows,software and router) are disabled, utorrent is working already on my machine using UPNP.
so i don know the possible reasons of failing to connect .any suggestions?
Last edited by mad_girl; Apr 5th, 2009 at 2:05 am.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 189
Reputation: martin5211 is an unknown quantity at this point 
Solved Threads: 14
martin5211 martin5211 is offline Offline
Junior Poster

Re: problem with connection

 
0
  #2
Apr 16th, 2009
Some computers have issues if you do a test from external IP using the same computer due to a NAT conflict. If you want to test simply if your program works, 127.0.0.1 or localhost interface. To do a test between "machines" on a local area network, you can setup a virtual machine (e.g. VirtualBox) and configure the interface as bridged network. A test through internet would be good to do it between two different physical connections.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Network Security Forum
Thread Tools Search this Thread



Tag cloud for Network Security
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC