Try running this command to see what application is using that port:

netstat -ulnp


On Mon, Feb 10, 2014 at 4:11 AM, Owais ul Haq <owaisulhaq@hotmail.com> wrote:
Hello,

 I have configured TLS on kamailio server. I am done with  all procedure of creation and installation of CA and site certificates. Problem is that in kamailio.cfg, when I use command port =5061. Kamailio doesnot start and error given in logs is
>> ERROR: tcp_init : bind(a, 0x9007f4, 16) on MyIP:5061 : Adress already in use
>> ERROR: Error while initializing TCP port of TLS Socket MyIP:5061
Point to note is that kamailio works fine with port=5062.
Can somebody please help me in this regard.
I will be so thankful.

Cheers,
Owais

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users