<div dir="ltr"><div><div>Interesting -- recently I had a similar situation and got the same error though the NAT settings were applied by the book.<br><br></div>It turns out, I left the wss.pem file out of reach (I messed up the permissions) as I am using WSS too. The error was the same as yours which led me to believe it was a socket binding issue.<br>
<br></div>-Ciprian<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 31 January 2014 12:12, Arsen <span dir="ltr">&lt;<a href="mailto:arsen.semionov@gmail.com" target="_blank">arsen.semionov@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Guys,</div><div><br></div><div>Just to let you know, I&#39;ve downgrade to 1.2.17 and everything is working now without any configuration changes.</div>
<div><br></div><div>Thanks,</div><div>Arsen.</div>
</div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Fri, Jan 31, 2014 at 1:51 PM, Arsen <span dir="ltr">&lt;<a href="mailto:arsen.semionov@gmail.com" target="_blank">arsen.semionov@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi guys,</div><div><br></div><div>I am trying to run freeswitch on Amazon AWS, but I am facing the following error:</div>

<div><br></div><div>2014-01-31 11:43:11.024549 [ERR] sofia.c:2500 Error Creating SIP UA for profile: internal (<a href="http://sip:mod_sofia@172.31.28.215:5060" target="_blank">sip:mod_sofia@172.31.28.215:5060</a>)</div>

<div>The likely causes for this are:</div><div>1) Another application is already listening on the specified address.</div><div>2) The IP the profile is attempting to bind to is not local to this system.</div><div><br></div>


<div>I am sure that the port 5060 is not used by any other application as well as 172.31.28.215 is an internal IP address of the instance. </div><div><br></div><div>I have tried to configure mod_sofia as it described in this link:</div>


<div><a href="http://wiki.freeswitch.org/wiki/Amazon_EC2" target="_blank">http://wiki.freeswitch.org/wiki/Amazon_EC2</a></div><div><br></div><div>Also I googled this error and tried to fix it with </div><div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;local_ip_v4=172.31.28.215&quot;/&gt;</div>


<div><br></div><div>All required ports are opened. </div><div>Freeswitch git installation v.1.2.18 </div><div><br></div><div>Strange that I have never faced the same issue with my previous FS installations on EC2.</div><div>


<br></div><div>Thanks for advice!</div><span><font color="#888888"><div>Arsen. </div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Regards,<br>Arsen.<br>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br>Ciprian Dosoftei<br><br>The information transmitted is intended only for the addressee and may contain privileged and/or confidential material. If you are not the intended recipient, kindly contact the sender and delete the message.<br>
<br>Any disclosure, distribution or copying of this message is strictly prohibited without the expressed permission of the sender.
</div>