Localhost and 2.2-26/c1614c8c issue?

blanchae

New Member
Nov 7, 2012
9
0
1
Hi

I've come across a problem/issue with the localhost address. /etc/hosts indicates "127.0.0.1 localhost" but if I try to pass information to localhost, I receive an error. If I use the machine's IP address then it works. For example, on my PBX in a Flash openVZ template, FreePBX can't communicate with asterisk through the localhost address which is the normal method. It can through the NIC's virtual IP address (192.168.202.253).

I've installed the CentOS 6 openVZ template in another virtual machine and ran into the same problem when using another program. If I try to connect through the localhost address: "sipp -sn uac localhost:5060", I receive this error message:

Last Error: Unable to send UDP message: Address family not supported by ...

If I issue this command "sipp -sn uac 192.168.202.253:5060", then it works fine.