Can I bind to other ports?


#1

I tried creating a minecraft server on port 25565, but it doesn’t seem to work.

Also nmap states the port is “filtered”


#2

Only port 3000 is exposed (as port 80).


#3

Is it possible to work around this?


#4

Not as far as I know, but someone from Glitch might have a workaround.


#5

You need to bind to whatever the PORT environment variable is, normally 3000. A Minecraft server probably won’t work anyway, since we use HTTP headers to route requests to your project, and I would guess that Minecraft isn’t using HTTP.


#6

Yo could you send me a link so i could remix the code if you got it to work


#7

This question already has an answer.