Let's say glb is listening on 0.0.0.0:3306, and there is another program connecting to 192.168.1.3:3306. It doesn't work if we try restart glb in this case, E.g.: netstan -an
tcp 0 0 192.168.1.1:42388 192.168.1.3:3306 ESTABLISHED
The reason is that netstat -an | grep -m 1 ':3306' matches 192.168.1.3:3306, which is external connection.
Let's say glb is listening on 0.0.0.0:3306, and there is another program connecting to 192.168.1.3:3306. It doesn't work if we try restart glb in this case, E.g.: netstan -an
The reason is that netstat -an | grep -m 1 ':3306' matches 192.168.1.3:3306, which is external connection.