#Server Crashing

1 messages · Page 1 of 1 (latest)

gusty aspen
delicate jackal
#

did you edit the server.properties to set an ip address?

gusty aspen
#

yeah

delicate jackal
#

you did it wrong 😛

gusty aspen
#

I included the /24

#

at the end

#

that's probably what screwed it up

delicate jackal
#

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

gusty aspen
#

yoooo

#

any idea on how to fix this

delicate jackal
#

are your ports correct?

gusty aspen
delicate jackal
#

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

gusty aspen
delicate jackal
#

was that using localhost ?

#

if so, try 127.0.0.1 instead

gusty aspen
#

yeah

delicate jackal
#

likely you have ipv6 enabled and didnt tell java to only use ipv4. 127.0.0.1 should work though

gusty aspen
delicate jackal
#

looks like the server may not be running

delicate jackal
#

or you specified an ip address in the server.properties and so the server isnt listening to your local traffic

gusty aspen
#

oh shit

#

just using theip adress in server properties worked

#

instantly

delicate jackal
#

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)

gusty aspen
#

like this

delicate jackal
#

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

gusty aspen
#

this is the error my friend gets

#

no its not my local ip and it is using the port

gusty aspen
#

cuz I believe I have port forwarding open for those

delicate jackal
#

yes

gusty aspen
#

because essential works fine

delicate jackal
#

essential proxies connections through your router and firewalls

#

(meaning port forwarding is not used)

gusty aspen
delicate jackal
#

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

gusty aspen
delicate jackal
#

tcp

#

you will want to port forward a udp port also if you want to use simple voice chat with folks

gusty aspen
delicate jackal
#

internal is the port your server is listening on, external is the port that people will connect to from outside the network

gusty aspen
#

?

delicate jackal
#

25565

gusty aspen
#

so they should be connecting from that port

#

and my pc is listening to it

#

How do you execute commands from the console?

lapis obsidian
#

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.

gusty aspen
#

I'm chat abnned

lapis obsidian
#

Im confused. You have console access but are chat banned?

gusty aspen
#

on microsoft