#Server Crashing
1 messages · Page 1 of 1 (latest)
did you edit the server.properties to set an ip address?
yeah
you did it wrong 😛
yeah
the ip address is the ip address of the network adapter you are listening on
not the ip address of the network itself
for example, if i have 3 network cards in my server (virtual or otherwise) i can specify which one to handle traffic from
if you arent in a situation where you have multiple external ip addresses on that server, i would just leave it to default to all of them
are your ports correct?
25565?
thats the default, yeah
depending on how you are hosting, be sure you have allowed the port on the firewall and any security device between the server and your client.
if its on the same machine, use localhost rather than the WAN ip for testing as some networks wont route traffic back through the router, for instance
if its on the same network but a different machine, you would use the LAN ip and i would recommend verifying the firewall settings on the server
what about this
yeah
likely you have ipv6 enabled and didnt tell java to only use ipv4. 127.0.0.1 should work though
looks like the server may not be running
my ipv6 is actually disabled
or you specified an ip address in the server.properties and so the server isnt listening to your local traffic
i also suggest adding -Djava.net.preferIPv4Stack=true to your java args for your client, just to ensure that it doesnt try ipv6 anyway
(doesnt hurt if ipv6 isnt supported by the system, helps if it is)
no, your client not the server
so if you use Curseforge app to run minecraft, add it to Additional Arguments in the settings
you can set it for the server as well, if you want, too in which case, yes thats correct
this is the error my friend gets
no its not my local ip and it is using the port
can I change the ports to 8080?
cuz I believe I have port forwarding open for those
yes
essential proxies connections through your router and firewalls
(meaning port forwarding is not used)
So I would need an additional server?
no, essential is using another server if you are using it to proxy connections
you should just need to open ports, configure port forwarding, and use the right ip for routing traffic
What protocol should I use for port forwarding?
tcp
you will want to port forward a udp port also if you want to use simple voice chat with folks
should the external and internal port be the same?
internal is the port your server is listening on, external is the port that people will connect to from outside the network
what's the default setting port
?
25565
so they should be connecting from that port
and my pc is listening to it
How do you execute commands from the console?
Just enter them, without any prefix.
Is annoying when log messages come in whilst you’re typing a command, though
If I’m admin on a server, I usually just give myself OP and enter commands in-game, when that’s more convenient.
I'm chat abnned
Im confused. You have console access but are chat banned?
on microsoft