You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have try to use deno start a http-web-server on WSL:
error: Uncaught (in promise) PermissionDenied: Permission denied (os error 13)
const listener = Deno.listen(addr);
at Object.opSync (deno:core/01_core.js:149:12)
at opListen (deno:ext/net/01_net.js:38:17)
at Object.listen (deno:ext/net/01_net.js:204:17)
at serve (https://deno.land/[email protected]/http/server.ts:303:25)
at new DenlyHttp (https://deno.land/x/[email protected]/core/server/http.ts:37:32)
at new Denly (https://deno.land/x/[email protected]/core/denly.ts:129:29)
at file:///home/mrxiaozhuox/projects/dodot/mod.ts:11:13
if I use sudo to run the deno, its ok. But I think it is not a normal state:
sudo ~/.deno/bin/deno -A mod.ts
(Because I don't need use sudo start a server on my macbook, but I need it on WSL, so I think this is a bug.
The text was updated successfully, but these errors were encountered:
This is not a problem with a file/exe not being owned by root, but by the fact that you are trying to connect to the port that requires root access (most likely port 80). Does the problem still happen if you change the port?
This is not a problem with a file/exe not being owned by root, but by the fact that you are trying to connect to the port that requires root access (most likely port 80). Does the problem still happen if you change the port?
I have try to use
deno
start ahttp-web-server
on WSL:if I use
sudo
to run thedeno
, its ok. But I think it is not a normal state:(Because I don't need use
sudo
start a server on my macbook, but I need it onWSL
, so I think this is a bug.The text was updated successfully, but these errors were encountered: