Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6654169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:21:28+00:00 2026-05-26T01:21:28+00:00

We have a VB.Net application which works fine in our tests in different Windows

  • 0

We have a VB.Net application which works fine in our tests in different Windows XP SP3 machines. However there is one machine in which is displaying this error:

Unable to connect to any of the specified MySQL hosts

Using the mysql command, we can successfully connect to the database. We already checked for any other application or firewall that could be blocking the connection but it seems fine. We also reinstalled the system (no errors during the installation) but the MySQL error message doesn’t change.

The system settings are exactly the same as in the other computers. We are using “localhost” as server in the connection string. The “hosts” file has its default values (nothing strange in there).

Does anyone have a similar experience and can point me in the right direction?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:21:28+00:00Added an answer on May 26, 2026 at 1:21 am

    It took me more than an hour to figure it out… I was trying to see if there was something wrong in the network configuration. So I issue:

    netstat -na
    

    And it gave me some clues: Comparing it with the other computers (that work fine), I found a difference:

    NOT WORKING:

      Proto  Local Address          Foreign Address        State
      TCP    [::]:3306              [::]:0                 LISTENING       0
    

    WORKING:

      Proto  Local Address          Foreign Address        State
      TCP    127.0.0.1:3306         127.0.0.1:0            LISTENING
    

    So, what is “[::]” and why is that zero to the right?

    ANSWER:

    I found out that “[::]” means 127.0.0.1 in IPv6 (about the zero, I have no idea).
    So I checked the TCP/IP settings in the computer that was not working and “TCP/IP IPv6” was installed (which the working ones didn’t have). I uninstalled it, restarted and voila! It worked! 🙂

    Perhaps some network card installers add IPv6 automatically? Whatever the reason was, that was the problem.

    To prevent it in the future, and for simplification, we can issue the command:

    > ipv6 uninstall
    

    and it will remove it automatically.

    A more elegant way to solve the problem will be to implement the IPv6 support within the VB.net system (which I think it is explained here) but that will be done later.

    My guess is that MySQL 5.5 is IPv6 aware by default? I didn’t find any way to change that in the settings nor any report of this kind of problem.

    I hope this helps to other people with the same problem.

    Now I can go to rest…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET 3.5 web application which works perfectly fine on my local
I have an asp.net mvc 2 application which works fine when run from visual
I have a location using our ASP.NET 4.0 web application which was running fine
Our application (C# .Net 3.5) works fine on WinXP machines (embedded or not). Now
I have an .Net MVC application which runs fine if I use the build
I have a .NET application which serializes an object in binary format. this object
I have an ASP.Net application which as desired feature, users would like to be
I have a .net client application which is connected to a remote database. Is
I have an ASP.net application which returns a binary PDF file (stored from the
I have an ASP.NET MVC-application which I want deployable on both IIS6 and IIS7

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.