Click here to Skip to main content
16,018,264 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
I problem with publish program in WinForm ,

Warning: Files could not be downloaded from http://mehdi-pc:81/. Unable to connect to the remote server
Publish success.
Warning: Unable to view published application at http://mehdi-pc:81/.
http://mehdi-pc:81/


what is problem?
Posted

there can be two thing in this case.

1) if you are using a remote PC then your PC is unable to connect to that PC for some reason. Check you network connection.

2)if its a local host then you are using a strong firewall.Trying switching it off or Open the port 81 as in you can also give a try by changing the port to port 80 as 80 is the default port www.
 
Share this answer
 
Normally, the clue is in the error message: "Unable to connect to the remote server"

Did you check?
 
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