MySQL Forums
Forum List  »  Install & Repo

binding ::1 in my.ini *still* binds 0.0.0.0 reported by NETSTAT
Posted by: Robert Eby
Date: October 10, 2014 07:12AM

On standard win7 64-bit, with IPv4 and IPv6 enabled my.ini values:

port=3306
bind-address = ::1

This should bind to only loopback, only in IPv6, however NETSTAT shows:

C:\>netstat -an |findstr 3306
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING
TCP [::1]:3306 [::]:0 LISTENING

Telnet shows a better story (the 0.0.0.0 is not really there?):

C:\>telnet 127.0.0.1 3306
(Seems like TCP connect failure)

Months ago I posted a bug about this, and yesterday it was triaged asking for more information and pointing me at the definition of INADDR_ANY in NETSTAT (irrelavant since ::1 is LOOPBACK **not** INADDR_ANY).

http://bugs.mysql.com/bug.php?id=72087

But... My response yesterday got no activity perhaps it'll be checked in another 6 months.

Options: ReplyQuote


Subject
Written By
Posted
binding ::1 in my.ini *still* binds 0.0.0.0 reported by NETSTAT
October 10, 2014 07:12AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.