I'm receiving the error "Connection reset by peer (10054)"

"Connection reset by peer" generally suggests a network issue (not related to the application itself), this could be due to either misconfigured or faulty network hardware.

"Connection reset by peer" specifically means that, as far as the application reporting the error is concerned, the other endpoint sent a TCP reset packet. Sometimes, both endpoints report this error, in which case something in the middle has sent reset packets to both ends. It's not possible for the endpoints to get any more information than this. That unfortunately means the VNC Viewer cannot tell what has caused the error.

If you wish to troubleshoot this issue, investigating the quality of the connection between viewer and server is the best place to start. Try sending large ping packets and do a long-ish ping test and look for any packet loss. A payload of around ~1350 bytes is ideal.

From a command prompt:

ping -t -l 1350

N.B. it is a "dash lowercase-L" above, not a 1, they look the same in some fonts.

One common cause of this error is that the MTU (Maximum Transmission Unit) size of packets travelling over your network connection have been changed from the default of 1500 bytes. This could have been configured manually (usually within router settings), or could be due to running VNC over a VPN connection.

Using fixed IP addresses rather than DHCP assigned addresses on your router settings has been known to resolve this issue.

Related Articles

No related articles were found.


No attachments were found.

Visitor Comments

Article Details

Last Updated
10th of April, 2013

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions

62% thumbs up 37% thumbs down (35 votes)

How would you rate this answer?

Thank you for rating this answer.