How to connect to server?
Im just wondering what ip I would use in order to connect to the server, I have tried this URL, https://MCBE-Server.8o4k.repl.co on port 19132, but it does not recognize the server.
Voters
Im just wondering what ip I would use in order to connect to the server, I have tried this URL, https://MCBE-Server.8o4k.repl.co on port 19132, but it does not recognize the server.
That’s because your server stops the second it starts:
Get rid of line 5, rerun the server, and try again. @Highwayman
@Highwayman
Thanks I will try, I just used that for web view
@Highwayman It didn't work, still "Unable to connect to server", because the node.js server blocks all connections until its exited
Maybe it’s your port - it seems a bit high… maybe set it to something like 3000 or 8000 instead of 10000+ @8O4k
Im not talking about the node.js, im talking about the MC port, its in server/server.properties, I have it set to 19132 which is the default port for mc, it says ipv6 is disabled, that might be [email protected]
Hummmmm I think this probably over my head then... Why don’t you try changing the number in
index.js
andserver/server.properties
…?@8O4k
@Highwayman They are both different numbers, I have one set to 3000, and one set to 19132
Then…idk. @8O4k
@Highwayman I believe its the port, I made a new repl and instead of using Nix, I used bash.
Did it work..? @8O4k
@Highwayman Kinda, I found out why, it uses localhost, and I don't believe it works with localhost, so I'm trying to use NGrok rn for the server IP
Oh, yes that is true.. @8O4k