Yes, all of you is right… Because Freeswitch is running on unprivileged user the system won’t allow it to be listening on that port, I made the test and is worked, but the best option is to configure port forwarding on the firewall since is not recommend.

 

 

Thank You again.

 

De: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] En nombre de Sergey Safarov
Enviado el: Wednesday, May 27, 2015 3:19 AM
Para: FreeSWITCH Users Help
Asunto: Re: [Freeswitch-users] Interface Listining Error

 

You can try install nginx as reverse proxy or configure port forwarding on iptables.

Runnign application as root is not recomended.

 

On Wed, May 27, 2015 at 10:03 AM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:

Maybe it's running as an unprivileged user? Only root can open sockets listening on low ports.

On May 27, 2015 6:23 AM, "Abel" <abel@metrogsm.net> wrote:

Hello,

 

 

I want from Freeswitch to be listening SIP registrations on two diferent ports: 5060, and 443, but the freeswitch log’s says there is an error:

 

2011-05-05 02:54:25.563289 [DEBUG] switch_nat.c:500 mapped public port 5060 protocol UDP to localport 5060

2011-05-05 02:54:25.563289 [DEBUG] sofia.c:1432 Created UDP nat mapping for sipinterface_1 port 5060

2011-05-05 02:54:25.848007 [DEBUG] switch_nat.c:500 mapped public port 443 protocol TCP to localport 443

2011-05-05 02:54:25.850024 [DEBUG] sofia.c:1435 Created TCP nat mapping for sipinterface_2 port 443

2011-05-05 02:54:25.852043 [ERR] sofia.c:1481 Error Creating SIP UA for profile: sipinterface_2

 

 

I make sure that that port is not being used for another services in the system:

 

freeswitch]# nestat -na | more

-bash: nestat: command not found

[root@bluebox freeswitch]# netstat -na | more

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address               Foreign Address             State

tcp        0      0 192.168.0.106:5060          0.0.0.0:*                   LISTEN

tcp        0      0 192.168.0.106:4453          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:111                 0.0.0.0:*                   LISTEN

tcp        0      0 0.0.0.0:976                 0.0.0.0:*                   LISTEN

tcp        0      0 127.0.0.1:8021              0.0.0.0:*                   LISTEN

tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN

tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN

tcp        0      0 :::80                       :::*                        LISTEN

tcp        0      0 :::22                       :::*                        LISTEN

tcp        0      0 ::ffff:192.168.0.106:22     ::ffff:192.168.0.101:64845  ESTABLISHED

tcp        0     52 ::ffff:192.168.0.106:22     ::ffff:192.168.0.101:49783  ESTABLISHED

udp        0      0 192.168.0.106:49035         192.168.0.1:5351            ESTABLISHED

udp        0      0 192.168.0.106:5060          0.0.0.0:*

udp        0      0 0.0.0.0:68                  0.0.0.0:*

udp        0      0 0.0.0.0:970                 0.0.0.0:*

udp        0      0 0.0.0.0:973                 0.0.0.0:*

udp        0      0 192.168.0.106:4453          0.0.0.0:*

udp        0      0 0.0.0.0:39144               0.0.0.0:*

udp        0      0 0.0.0.0:5353                0.0.0.0:*

udp      864      0 239.255.255.250:1900        0.0.0.0:*

udp        0      0 0.0.0.0:111                 0.0.0.0:*

udp        0      0 0.0.0.0:631                 0.0.0.0:*

udp        0      0 :::44004                    :::*

udp        0      0 :::5353                     :::*

 

The freeswitch inself have this limitation with this port 443?

 

Thank You,

 


Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com

 

 

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 




Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com