• 0

    posted a message on Cannot log in to server: "io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:"

    Sorry for my lateness.

    I download the server on my PC and not hosted to any website such as server.org.


    [0913/201758:INFO:GameCallbacks.cpp(178)] game/bkr (Server Connector #1) error Couldn't connect to server[0913/201758:INFO:GameCallbacks.cpp(178)] game/bkr (Server Connector #1) error Couldn't connect to serverio.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:25565 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:352) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:612) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:559) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:476) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) at java.lang.Thread.run(Thread.java:745)Caused by: java.net.ConnectException: Connection refused ... 10 more


    #Minecraft server properties
    #Thu Sep 14 14:13:11 HKT 2017
    generator-settings=
    op-permission-level=4
    allow-nether=true
    level-name=world
    enable-query=false
    allow-flight=false
    prevent-proxy-connections=false
    server-port=25565
    max-world-size=29999984
    level-type=DEFAULT
    enable-rcon=false
    level-seed=
    force-gamemode=false
    server-ip=
    network-compression-threshold=256
    max-build-height=256
    spawn-npcs=true
    white-list=false
    spawn-animals=true
    hardcore=false
    snooper-enabled=true
    resource-pack-sha1=
    online-mode=true
    resource-pack=
    pvp=true
    difficulty=1
    enable-command-block=false
    gamemode=0
    player-idle-timeout=0
    max-players=20
    max-tick-time=60000
    spawn-monsters=true
    view-distance=10
    generate-structures=true
    motd=A Minecraft Server

    Posted in: Server Support
  • 0

    posted a message on Cannot log in to server: "io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:"

    Help me!! When I turned off my server, and I tried to connect other servers, it displays

    Failed to connect the server
    io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused:
    Back to server list

    When I turned on my server, It always log in to my server, even I tried to log in to other ip's.

    I tried to reinstall Minecraft, restart my computer, delete my server file, and even tried to reset my router network, but it still didn't work.

    Could anyone help me? I don't want to give up.


    Technical details: I use a MacBook Pro 2017 with macOS Sierra Version 10.12.6 installed as a server and I also use it to log in to the other servers.

    Posted in: Server Support
  • To post a comment, please or register a new account.