Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends

I developed a file transfer project in VC#2008. It works goods on loacal network. but failed to internet. any one help me and give some sample code. please . When I connect the server through internet i get the message below "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.2:8011 . what happen my programme.

regards
naser
Posted
Updated 8-Nov-10 23:00pm
v2
Comments
jim lahey 9-Nov-10 3:50am    
any error messages?
Rajesh Anuhya 9-Nov-10 3:53am    
what is the Error Message????
Rajesh Anuhya 9-Nov-10 5:05am    
You IP looks like Intranet Series(192.168.1.2:8011), not a Public IP.

Go through the below link this may helps you

http://www.codeproject.com/KB/cs/SocketApplication.aspx[^]
 
Share this answer
 
When I connect the server through internet i get the message below "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.2:8011

May be you are forget to change the Public IP in your TCP Client Program.., i think (192.168.1.2:8011) this is not public internet IP, which is your client program looking for.....
 
Share this answer
 

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