Handling Errors
A connection with the server could not be established
When you upload images to your web server, you may receive the error message.
The problem may occur when a connection with the server is not available.
- Resolution
- Check if the HTTP port you set in your code coincides with the port number you set on your web server. You can use the HTTPPort property to set the port number.
- Make sure the address of the server is available. To check this, you can ping the address from a client machine.
Note:
Both the machine name and the IP address of the server can be used for the HTTPUpload method.