Category: 

What Are the Common Causes of Socket Error 10054?

Article Details
  • Written By: Alex Newth
  • Edited By: Angela B.
  • Last Modified Date: 22 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
In late 19th-century London, mail was delivered to residential addresses up to twelve times each day.   more...

September 28 ,  1924 :  Two US military planes complete the first flights around the world.  more...

Computers are rife with potential errors and, of all of them, socket error 10054 is one of the easier ones to fix. This error is usually caused accidentally when the user shuts down the software or closes the connection while the computer is attempting to connect with a server. More serious causes of this error are the Internet connection suddenly dropping or a proxy server disabling server connections. As with all errors, the firewall also could be acting up and causing the connection to break.

The overall reason why this socket error occurs is because the server connection has been broken by something outside the server. Most of the time, this is an action caused, either purposefully or accidentally, by the user. When 10054 manifests, as with other errors, the first thing that the user should do is to temporarily disable the firewall, because firewalls sometimes break good connections, thinking they are bad.

If the problem occurred because of an accidental or manual shutdown of the program, then this will be even easier to fix than the firewall method. Sometimes, when a user is attempting to connect to a server, he or she will close the program. This may be because he no longer needs to connect to the server or because the program was closed mistakenly. In this instance, he can just start the program again and the connection should work.

Ad

A break in the Internet connection also can cause a socket error 10054. As with the program, this can occur manually. If the user is not at fault for breaking the Internet connection, he should check the modem, router, and any internal device connecting to the Internet to ensure they are working. Manually resetting the device and calling the Internet service provider (ISP) can help get the Internet back online. In more serious cases, the device may have to be repaired or replaced.

Another reason for this error is that the user is using a proxy server to mask his computer address. This happens if the server is attempting to connect to the computer’s inherent address, and not the proxy server. If this occurs, the user can manually tell the server to connect to the proxy and not directly to the computer. Otherwise, the connection will keep breaking.

Ad

You might also Like

Recommended

Discuss this Article

anon284432
Post 5

Socket error 10054 while trying to send email is commonly because of a port problem. The port is like a door to connect an IP and if you are knonking the wrong door you get socket error 10054. For example for smtp.gmail.com you are trying to connect on port 25 but you should on port 587.

miriam98
Post 4

@SkyWhisperer - I've never gotten any of the socket errors mentioned here, but I did get an error for SMTP when I changed Internet providers and tried to access my new mail server.

It was a simple enough fix however. All I needed to do was go in and change my settings for SMTP and POP server. Your provider will give you this information.

SkyWhisperer
Post 3

@allenJo - I’d like to add one note to the issue of the proxy server. It’s true that in general you want the proxy server disabled.

However, sometimes you have software that needs a proxy server to perform some of its functions. For example, I have a free anti spyware application. Every now and then I have to connect to their website to update the application with new spyware signatures.

However, when I first tried to do the update, I got a socket error 10061. I went on the Internet and did a search on this error, and it basically means that the host refused the connection.

Digging deeper, I found out that my program used a proxy server. I was, however, able to go into the application’s settings, and make changes so that it could use the proxy server with my firewall settings. I believe that I had to make changes to my firewall settings as well.

hamje32
Post 2

@allenJo - I’ve never gotten that error message on my computer. However, I did once get a socket error 10060.

In my experience, this error had nothing to do with a virus or a firewall or anything of the sort. It had to do with corrupt Windows systems files.

Basically, over time I had installed so much software on my computer that some of the systems files in the Windows folder got corrupted. This can happen, because a lot of applications will write to the windows systems directory.

Further, if you uninstall the application, they have to remove files from the windows system directory. Corruption can happen if you do this too much.

I went to a website that explained the error message to me and I downloaded a tool that did a scan of my system. It found out which files were missing, then helped to reinstall those files from my Windows CD.

allenJo
Post 1

My Internet connection was down some time ago and for the life of me I couldn’t figure out what was causing the problem.

I was getting the infamous Winsock error 10054. I did everything I could think of to resolve the problem. I checked my firewall settings. I checked for viruses. I reinstalled the virus scanner. I rebooted the computer – everything.

Finally I called the cable company. They checked, and confirmed that I was receiving an Internet signal, so there was nothing wrong on their end. Finally the guy asked me to check my Internet Explorer browser and see if there was a check mark by the option for “Proxy server.”

Sure enough, there was. He told me to disable it, which I did. The Internet was back working again. He told me that apparently a virus had attacked my machine and checked that Proxy Server option, giving me that error.

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleOffsite), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleOffsite))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}