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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!