[sr-dev] 5061 port Cannot assign requested address

David Villasmil david.villasmil.work at gmail.com
Mon Dec 9 11:48:11 CET 2019


Hello,

What patching did you do to kamailio? that exact same listen directive
works for me. (BTW, 5061 is NOT shown by netstat for me either, even though
kamailio _is_ listening, i tested it)
the must be another process listening on 5061. What happens if you
change 5061 for 5081, just to test?

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Mon, Dec 9, 2019 at 6:26 AM Jignesh Datta <jignesh.datta at bostonbyte.com>
wrote:

> Hi David,
>
> Sorry for the late reply. So listen directive is as below:
>
> listen=tls:10.140.3.182:5061 advertise 52.5.17.20:5061
> listen=tcp:127.0.0.1:5061 advertise 52.5.17.20:5061
>
> Thank You.
>
> On Fri, Dec 6, 2019 at 8:31 PM David Villasmil <
> david.villasmil.work at gmail.com> wrote:
>
>> Im asking about kamailio.cfg's listen directives
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337
>>
>>
>> On Fri, Dec 6, 2019 at 1:48 PM Jignesh Datta <
>> jignesh.datta at bostonbyte.com> wrote:
>>
>>> As you can see 5061 is not listening to any service. So can you please
>>> tell me which listen you are asking about?
>>>
>>> On Fri, Dec 6, 2019 at 7:12 PM David Villasmil <
>>> david.villasmil.work at gmail.com> wrote:
>>>
>>>> What does your “listen” look like?
>>>>
>>>> On Fri, 6 Dec 2019 at 13:18, Jignesh Datta <
>>>> jignesh.datta at bostonbyte.com> wrote:
>>>>
>>>>> Hi David,
>>>>>
>>>>> Following is the output:
>>>>>
>>>>> (No info could be read for "-p": geteuid()=1001 but you should be
>>>>> root.)
>>>>> Active Internet connections (servers and established)
>>>>> Proto Recv-Q Send-Q Local Address           Foreign Address
>>>>> State       PID/Program name
>>>>> tcp        0      0 0.0.0.0:9900            0.0.0.0:*
>>>>> LISTEN      -
>>>>> tcp        0      0 0.0.0.0:22              0.0.0.0:*
>>>>> LISTEN      -
>>>>> tcp        0      0 0.0.0.0:25              0.0.0.0:*
>>>>> LISTEN      -
>>>>> tcp        0      0 0.0.0.0:1883            0.0.0.0:*
>>>>> LISTEN      -
>>>>> tcp        0      0 0.0.0.0:3306            0.0.0.0:*
>>>>> LISTEN      -
>>>>> tcp        0      0 0.0.0.0:1514            0.0.0.0:*
>>>>> LISTEN      -
>>>>> tcp       54      0 10.140.3.182:47403      54.239.26.19:443
>>>>>  CLOSE_WAIT  -
>>>>> tcp        0      0 10.140.3.182:22         172.18.3.17:51455
>>>>> ESTABLISHED -
>>>>> tcp        0      0 10.140.3.182:58893      204.110.219.102:443
>>>>> ESTABLISHED -
>>>>> tcp        0      0 10.140.3.182:53424      172.18.3.17:4506
>>>>>  ESTABLISHED -
>>>>> tcp       54      0 10.140.3.182:47085      54.239.17.33:443
>>>>>  CLOSE_WAIT  -
>>>>> tcp        0    368 10.140.3.182:22         113.193.31.229:28856
>>>>>  ESTABLISHED -
>>>>> tcp        0      0 10.140.3.182:60154      172.18.3.17:4505
>>>>>  ESTABLISHED -
>>>>> tcp        0      0 10.140.3.182:42792      3.82.206.202:7777
>>>>> ESTABLISHED -
>>>>> tcp        0      0 10.140.3.182:53568      204.110.219.102:443
>>>>> ESTABLISHED -
>>>>> tcp        0      0 10.140.3.182:22         113.193.31.229:57590
>>>>>  ESTABLISHED -
>>>>> tcp        0      0 10.140.3.182:51887      204.110.219.102:443
>>>>> ESTABLISHED -
>>>>> tcp       32      0 10.140.3.182:56238      54.203.39.65:443
>>>>>  CLOSE_WAIT  -
>>>>> tcp6       0      0 :::80                   :::*
>>>>>  LISTEN      -
>>>>> tcp6       0      0 :::22                   :::*
>>>>>  LISTEN      -
>>>>> tcp6       0      0 :::25                   :::*
>>>>>  LISTEN      -
>>>>> tcp6       0      0 :::8443                 :::*
>>>>>  LISTEN      -
>>>>> tcp6       0      0 :::443                  :::*
>>>>>  LISTEN      -
>>>>> tcp6       0      0 :::1883                 :::*
>>>>>  LISTEN      -
>>>>> tcp6       0      0 :::8005                 :::*
>>>>>  LISTEN      -
>>>>> tcp6       0      0 :::8009                 :::*
>>>>>  LISTEN      -
>>>>> udp        0      0 0.0.0.0:12222           0.0.0.0:*
>>>>>           -
>>>>> udp        0      0 0.0.0.0:68              0.0.0.0:*
>>>>>           -
>>>>> udp        0      0 10.140.3.182:123        0.0.0.0:*
>>>>>           -
>>>>> udp        0      0 0.0.0.0:123             0.0.0.0:*
>>>>>           -
>>>>> udp        0      0 0.0.0.0:8675            0.0.0.0:*
>>>>>           -
>>>>> udp        0      0 0.0.0.0:16968           0.0.0.0:*
>>>>>           -
>>>>> udp        0      0 0.0.0.0:1514            0.0.0.0:*
>>>>>           -
>>>>> udp        0      0 0.0.0.0:22222           0.0.0.0:*
>>>>>           -
>>>>> udp6       0      0 :::56780                :::*
>>>>>          -
>>>>> udp6       0      0 :::12222                :::*
>>>>>          -
>>>>> udp6       0      0 2600:1f18:61be:8d00:123 :::*
>>>>>          -
>>>>> udp6       0      0 fe80::ce2:6aff:feec:123 :::*
>>>>>          -
>>>>> udp6       0      0 :::123                  :::*
>>>>>          -
>>>>> udp6       0      0 fe80::ce2:6aff:feec:546 :::*
>>>>>          -
>>>>> udp6       0      0 :::16968                :::*
>>>>>          -
>>>>> udp6       0      0 :::22222                :::*
>>>>>          -
>>>>>
>>>>> Thank You.
>>>>>
>>>>> On Fri, Dec 6, 2019 at 6:46 PM David Villasmil <
>>>>> david.villasmil.work at gmail.com> wrote:
>>>>>
>>>>>> what do you get when you do
>>>>>>
>>>>>> netstat -putna
>>>>>>
>>>>>> ?
>>>>>> Regards,
>>>>>>
>>>>>> David Villasmil
>>>>>> email: david.villasmil.work at gmail.com
>>>>>> phone: +34669448337
>>>>>>
>>>>>>
>>>>>> On Fri, Dec 6, 2019 at 1:01 PM Jignesh Datta <
>>>>>> jignesh.datta at bostonbyte.com> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I have Kamailio v4.4.1 installed in ubuntu 14.04 server with TLS
>>>>>>> enabled. After I have done the patching of the server and then restarted
>>>>>>> the server. After that, it is not working. When I try to start the Kamailio
>>>>>>> service it says "already running". But when I check the status of the
>>>>>>> service it says "Kamailio is not running".
>>>>>>>
>>>>>>> I thought this Kamailio process might be using port 5061 but when
>>>>>>> checked using netstat it shows 5061 is not used by anywhere. SO I am
>>>>>>> wondering why it is not working?
>>>>>>>
>>>>>>> Can anyone face similar issue? Please help me.
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Best Regards,
>>>>>>> __________________________________
>>>>>>> Jignesh Datta
>>>>>>> Lead Developer
>>>>>>> Boston Byte LLC
>>>>>>> Contact :+91 7385860123
>>>>>>> Email :  jignesh.datta at bostonbyte.com
>>>>>>> Website : *www.bostonbyte.com <http://www.bostonbyte.com/>*
>>>>>>> Blog: <http://bostonbyte.blogspot.com>bostonbyte.blogspot.com
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Kamailio (SER) - Development Mailing List
>>>>>>> sr-dev at lists.kamailio.org
>>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Kamailio (SER) - Development Mailing List
>>>>>> sr-dev at lists.kamailio.org
>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Best Regards,
>>>>> __________________________________
>>>>> Jignesh Datta
>>>>> Lead Developer
>>>>> Boston Byte LLC
>>>>> Contact :+91 7385860123
>>>>> Email :  jignesh.datta at bostonbyte.com
>>>>> Website : *www.bostonbyte.com <http://www.bostonbyte.com/>*
>>>>> Blog: <http://bostonbyte.blogspot.com>bostonbyte.blogspot.com
>>>>>
>>>>> _______________________________________________
>>>>> Kamailio (SER) - Development Mailing List
>>>>> sr-dev at lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>>>>>
>>>> --
>>>> Regards,
>>>>
>>>> David Villasmil
>>>> email: david.villasmil.work at gmail.com
>>>> phone: +34669448337
>>>> _______________________________________________
>>>> Kamailio (SER) - Development Mailing List
>>>> sr-dev at lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>> __________________________________
>>> Jignesh Datta
>>> Lead Developer
>>> Boston Byte LLC
>>> Contact :+91 7385860123
>>> Email :  jignesh.datta at bostonbyte.com
>>> Website : *www.bostonbyte.com <http://www.bostonbyte.com/>*
>>> Blog: <http://bostonbyte.blogspot.com>bostonbyte.blogspot.com
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Development Mailing List
>>> sr-dev at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>>>
>> _______________________________________________
>> Kamailio (SER) - Development Mailing List
>> sr-dev at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>>
>
>
> --
>
> Best Regards,
> __________________________________
> Jignesh Datta
> Lead Developer
> Boston Byte LLC
> Contact :+91 7385860123
> Email :  jignesh.datta at bostonbyte.com
> Website : *www.bostonbyte.com <http://www.bostonbyte.com/>*
> Blog: <http://bostonbyte.blogspot.com>bostonbyte.blogspot.com
>
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191209/f10ab0ad/attachment-0001.html>


More information about the sr-dev mailing list