So I was able to successfully run httpGate and the server - using httpGate
3000 8080!
However, I am having some trouble getting it to run using names -

My names entry looks like this -

dbapp 8080 root /root  /tmp pil dbapp.l -main -go -wait

Strace reveals that httpGate does not seem to get connection refused! If I
manually start the app that it works. Isn't httpGate supposed to start the
app if it is not already running?

regards,
Kashyap

On Thu, Mar 14, 2019 at 7:05 PM C K Kashyap <[email protected]> wrote:

> As expected, it was rather trivial to copy over gatePort and gateConnect
> from PicoLisp 3.0.7 and I have httpGate working in docker!!!
> I have the code here -
> https://github.com/ckkashyap/picoLisp/blob/contrib/src/httpGate.c :)
> Regards,
> Kashyap
>
> On Thu, Mar 14, 2019 at 10:16 AM C K Kashyap <[email protected]> wrote:
>
>> Looks like it. I just tested on docker on windows and that does not work
>> either. Fortunately it works on a linux VM on Azure.
>>
>> Since getting it to run on docker would be a really nice to have - would
>> it be too hard to have a IPv4 flavor of httpGate? Oh yes, IPv4 is quite
>> alive and kicking - I remember, over 7 years ago participating in a office
>> meeting about the crisis of running out of IPv4 addresses :)
>>
>> Regards,
>> Kashyap
>>
>> On Thu, Mar 14, 2019 at 8:26 AM Alexander Burger <[email protected]>
>> wrote:
>>
>>> Hi Kashyap,
>>>
>>> > And things worked just fine when I tried on WSL :) .. so it must be the
>>> > ipv6 issue on docker.
>>>
>>> Yes, indeed! All PicoLisp networking functionalities require IPv6
>>> ability.
>>>
>>> Strange that docker supports only IPv4 these days :(
>>>
>>> And also strange we find this out now - as I understand it several
>>> people here had PicoLisp running in docker. Only on Linux perhaps?
>>>
>>> ☺/ A!ex
>>>
>>> --
>>> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
>>>
>>

Reply via email to