So me and my friend are tryna make a server for a modded server and i can join fine but he cant join, everytime he refreshes it says
" Cant connect to server " and when he tries to join it just says " java.lang.stringindexoutofboundsexception: String index out of range: -1 "
what does that error mean does anyone know how to fix it?
So me and my friend are tryna make a server for a modded server and i can join fine but he cant join, everytime he refreshes it says
" Cant connect to server " and when he tries to join it just says " java.lang.stringindexoutofboundsexception: String index out of range: -1 "
what does that error mean does anyone know how to fix it?
Do you have his full game log from an attempt to login to the server?
Also, if you have access to server logs from when he tried to login those could be helpful as well.
Want to see the world's most gullible person? Click Here!
Heres his game log
[17:43:16] [Client thread/INFO]: Connecting to 198.23.199.235, 25565
[17:43:16] [Server Connector #4/ERROR]: Couldn't connect to server
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.charAt(Unknown Source) ~[?:1.8.0_121]
at io.netty.bootstrap.Bootstrap.isBlockedServer(Bootstrap.java:289) ~[Bootstrap.class:?]
at io.netty.bootstrap.Bootstrap.checkAddress(Bootstrap.java:273) ~[Bootstrap.class:?]
at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:150) ~[Bootstrap.class:?]
at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:132) ~[Bootstrap.class:?]
at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:120) ~[Bootstrap.class:?]
at net.minecraft.network.NetworkManager.func_181124_a(NetworkManager.java:345) ~[eo.class:?]
at net.minecraft.client.multiplayer.GuiConnecting$1.run(GuiConnecting.java:68) [bfa$1.class:?]
The server doesn't register or say anything when he is logging in.