[asterisk-users] tcpenable

Steve Edwards asterisk.org at sedwards.com
Wed Oct 19 18:19:06 CDT 2016


> Jerry Geis wrote:

>> I am playing with tcpenable... on 13.11.2
>> 
>> but when I "telnet localhost 5070" I get no connect.

On Wed, 19 Oct 2016, Joshua Colp wrote:

> You are explicitly binding to 192.168.1.8 port 5070. Trying to connect 
> to localhost won't work. You will either have to bind to 0.0.0.0 or 
> connect to 192.168.1.8 instead.

Or bind to 127.0.0.1 - aka localhost :)

0.0.0.0 means 'bind to all addresses on the host.'

The 'bind' and the 'telnet' need to match. You probably mean to bind to 
the host's IP address (slightly more secure) so the 'telnet' needs to 
match that IP address.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
             https://www.linkedin.com/in/steve-edwards-4244281



More information about the asterisk-users mailing list