You missed --allow-net flag, maybe you can edit the content of Procfile to following:
--allow-net
web: deno run --allow-net=:${PORT} --allow-read --allow-write --allow-plugin --allow-net --unstable -c tsconfig.json index.ts --port=${PORT}
What? So 2 --allow-nets?
Sorry! It is my fault, I missed that you already had --allow-net!
But I think maybe you can change the sequence to:
web: deno run --allow-net=:${PORT} --allow-read --allow-write --allow-plugin --unstable -c index.ts tsconfig.json --port=${PORT}
You can try again. I have seen some problems occur in sequence.
tsconfig.json should appear after -c though.
Doing --allow-net instead of --allow-net=:${PORT} works.
--allow-net=:${PORT}
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You missed
--allow-netflag, maybe you can edit the content of Procfile to following:web: deno run --allow-net=:${PORT} --allow-read --allow-write --allow-plugin --allow-net --unstable -c tsconfig.json index.ts --port=${PORT}What? So 2 --allow-nets?
Sorry! It is my fault, I missed that you already had
--allow-net!But I think maybe you can change the sequence to:
web: deno run --allow-net=:${PORT} --allow-read --allow-write --allow-plugin --unstable -c index.ts tsconfig.json --port=${PORT}You can try again. I have seen some problems occur in sequence.
tsconfig.json should appear after -c though.
Doing
--allow-netinstead of--allow-net=:${PORT}works.