Can't connect to http server on official alpine deno with std serve.
I'm using the official alpine docker container to run deno, listening on port 8080, but a simple curl to it and I can't connect. Seems like it isn't listening at all. Deno server shows no error.
Using https://deno.land/std@0.123.0/http/server.ts works fine on local dev.
8 Replies
If you change EXPOSE 8080 to EXPOSE 8000 does that work? The default port is 8000 and this is exposing 8080.
Could you post your
server.js
file?We've tried most things, custom ports, custom hostnames, with http/https, different servers.
Which comand do you use to run the container? Do you get any logs out of it?
Thing is, we're connecting to the deno on the same container it runs on..
Logs aren't giving any clues or errors
Found the issue, redis client hanged indefinitely when connecting
Are you using
npm:redis
?No the top redis package from deno.land
@iuioiua is this yours?
I wish
https://deno.land/x/redis