<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Sofia listens only on 127.0.0.1 after server VM reboot?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Hard set an ip for sip profiles and never use 0.0.0.0 as the bind ip, it does not work....<BR>
<BR>
<BR>
On 11/25/12 10:16 AM, "Dmitry Sytchev" <<a href="kbdfck@gmail.com">kbdfck@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>Hi All!<BR>
<BR>
We faced strange problem after FS migration from hardware server to Debian 6.0.6 in VMWare ESXi. <BR>
After every VM reboot, FS starts normally, but doesn't receive any SIP traffic. <BR>
netstat -ln shows that freeswitch listens on *:5060, but if we do 'sofia profile local restart', it says than it restarts on 127.0.0.1 <BR>
If we do /etc/init.d/freeswitch restart, FS starts normally and work as expected.<BR>
<BR>
My only idea is that probably FS starts earlier than network interfaces become configured with IP, although there is $network in # Required-Start section of init script. Nothing changes if I set $all in #Required-Start to make FS start at the very end of boot.<BR>
<BR>
I tried to configure static IP in config instead of $local_ipv4, but with no luck. Probably if the problem is in unconfigured IP interface, we also need enable_nonlocal_bind proc settings to make this work, but it is a generally poor and inacceptable workaround :(<BR>
Any ideas how can I trace what is the exact problem leading to such behaviour? <BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>