[LBo] Loopback tip

Niki Kovacs contact at kikinovak.net
Sat Nov 24 09:41:32 CET 2007


Allen a écrit :
> I was installing a package that was both a client and a server 
> and it connected through loopback. Well, it didn't and I 
> scratched my head and then had an Ah Hah! moment. I opened the 
> hosts file and added an extra line:
> 
> 127.0.0.1:3306  localhost
> 
> The 3306 was the port that needed to be open. Saved it and it 
> worked. P.S. Don't forget the colon and no spaces allowed.

You define hostnames in /etc/hosts. But you don't open ports there. If 
it only works like this for you, there's a fat chance something else is 
a mess in your config.

You can use nmap to scan your ports and see which port is open or closed.

Cheers,

Niki


More information about the QnA mailing list