[Fix] Cannot connect to a local server

PetteriM1

Resource Mod
Staff member
If you are unable to connect your server which is hosted on the same computer as you try to play on, do this:

1. Close Minecraft if it's open
2. Open Windows PowerShell as administrator and execute the following command:
Code:
CheckNetIsolation LoopbackExempt -a -n="Microsoft.MinecraftUWP_8wekyb3d8bbwe"
3. Start Minecraft and attempt to connect to your server with IP 127.0.0.1
 
Last edited:

Ritah

New Member
i have run this multiple times but it does not seem to wort i have tried internal and external ip and even tried changing the ip in the server.properties to both i cant figure whats wrong with it and why i cant connect from the same computer running it
 

SupremeMortal

Administrator
Staff member
@Ritah You shouldn't need to change the IP in your server.properties. 0.0.0.0 broadcasts to all interfaces. Did you run as Administrator and restart the server and client after running? Try connecting with 127.0.0.1
 

rakrimes

New Member
Same Issue here but I am using the latest dev build of bukkit 1.8 since Win10MCPE just updated to 1.8

I did the thing with powershell several times, I went to the options.txt but there is no dev_uselocalserver option. I tried using port 19150 instead, also I tried without any plugins running I just keep getting unable to connect.
 

Sleepybear

Moderator
Staff member
Be sure to run the command in a powershell window with admin privileges. It should print out "Ok." after the command runs.
 

Diamento

New Member
I cannot join my server. There is always an error message:
13:41:46 [ERROR] World "world" could not be ticked: java.lang.IllegalArgumentException: bound must be positive
at java.util.concurrent.ThreadLocalRandom.nextInt (Unknown Source)
at cn.nukkit.level.Level.tickChunks (Level.java:1092)
at cn.nukkit.level.Level.doTick (Level.java:840)
at cn.nukkit.Server.checkTickUpdates (Server.java:1055)
at cn.nukkit.Server.tick (Server.java:1137)
at cn.nukkit.Server.tickProcessor (Server.java:905)
at cn.nukkit.Server.start (Server.java:882)
at cn.nukkit.Server. <init> (Server.java:567)
at cn.nukkit.Nukkit.main (Nukkit.java:112)

I don't know what else to do, I also tried that with powershell.
Can someone help me?
 

PetteriM1

Resource Mod
Staff member
I cannot join my server. There is always an error message:
13:41:46 [ERROR] World "world" could not be ticked: java.lang.IllegalArgumentException: bound must be positive
at java.util.concurrent.ThreadLocalRandom.nextInt (Unknown Source)
at cn.nukkit.level.Level.tickChunks (Level.java:1092)
at cn.nukkit.level.Level.doTick (Level.java:840)
at cn.nukkit.Server.checkTickUpdates (Server.java:1055)
at cn.nukkit.Server.tick (Server.java:1137)
at cn.nukkit.Server.tickProcessor (Server.java:905)
at cn.nukkit.Server.start (Server.java:882)
at cn.nukkit.Server. <init> (Server.java:567)
at cn.nukkit.Nukkit.main (Nukkit.java:112)

I don't know what else to do, I also tried that with powershell.
Can someone help me?
Did you change chunk ticking settings in nukkit.yml? Try reverting those
 
Top