[OpenSIPS-Users] httpd module only listening on localhost

Jayesh Nambiar jayesh1017 at gmail.com
Tue Jul 22 16:34:27 CEST 2014


This took like 2 hours to figure out. Another dev had already defined the
modparams close to bottom of the file :(
Sorry for the false issue raised. Serious carelessness !!

--- Jayesh


On Tue, Jul 22, 2014 at 7:20 PM, Ovidiu Sas <osas at voipembedded.com> wrote:

> Probably you are loading a wrong config file (wrong location perhaps).
> On Jul 22, 2014 9:46 AM, "Jayesh Nambiar" <jayesh1017 at gmail.com> wrote:
>
>> Hi Ovidiu,
>> Thanks for the response. In opensipsctl ps following shows up for HTTPD:
>> Process::  ID=1 PID=1932 Type=HTTPD 127.0.0.1:8080
>>
>> Whereas, I have set the httpd parameter as follows:
>> modparam("httpd", "ip", "203.XXX.53.XXX")
>> modparam("httpd", "port", 8000)
>>
>> It is not listening to the IP I've mentioned as well as it runs on 8080
>> port by default. It doesn't obey the modparams defined :(
>> My http client is sitting remote and wants to send MI Commands to control
>> it over mi_json. Dont know what I'm doing wrong here !!
>>
>> Thanks for any response !!
>>
>> --- Jayesh
>>
>>
>> On Tue, Jul 22, 2014 at 6:04 PM, Ovidiu Sas <osas at voipembedded.com>
>> wrote:
>>
>>> There are no limitations in terms of IP binding. If you run 'opensipsctl
>>> ps' you will see the httpd process listed with the listening IP and port.
>>>
>>> Regards,
>>> Ovidiu Sas
>>> On Jul 22, 2014 7:03 AM, "Jayesh Nambiar" <jayesh1017 at gmail.com> wrote:
>>>
>>>> Hello,
>>>> I am trying to load the httpd module and trying to execute some
>>>> commands from a remote server towards opensips http server. But the problem
>>>> is, opensips by default only listens on localhost. I tried setting the
>>>> following parameter:
>>>> modparam("httpd", "ip", "1.2.3.4")
>>>> modparam("httpd", "port", "8000")
>>>>
>>>> But when starting up it still shows that its only listening on
>>>> localhost !! netstat also confirms that port 8000 is only being used by
>>>> localhost.
>>>>
>>>> Am i missing something here or is something wrong with the module
>>>> parameter.
>>>>
>>>> Thanks for pointers,
>>>>
>>>> --- Jayesh
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140722/9e7bf5fd/attachment-0001.htm>


More information about the Users mailing list