Port bind failure

Discussion in 'BungeeCord Help' started by Bomb, May 18, 2018 at 1:57 PM.

  1. MineVid

    MineVid Previously DRCNetwork

    Make sure:
    - You don't have a bungee server already opened.
    - You don't have a spigot server running with the same IP
     
  2. Can you provide the full server log and your config.yml file for BungeeCord? It is important for us to help you with this issue as we don't have any context of the issue otherwise.

    Do you have any plugins installed for BungeeCord? BungeeCord plugins are loaded before BungeeCord itself will open for connections - if you have a plugin that has been misconfigured to use the server port instead of a unique port, it will cause this error.

    Also make sure that your host/listener is set to the correct IP (and port) in your config.yml file.

    If you need more help, please provide as much information as possible (logs, config files and further context such as if it was working previously or if it's a newly installed BungeeCord server, etc).
     
  3. Have you literally typed in "bind" for the address for BungeeCord?
     
  4. electronicboy

    IRC Staff

    That error message would indicate that you're using an IP address which isn't actually available on your machine; if you're on a home network, leave the IP address as 0.0.0.0, if you're using a hosting provider, speak to them
     
  5. When no server is running with the port try this on debian

    fuser -n tcp <port>
    kill -9 <pidnumber>
     
  6. no, i just hid my ip
     
  7. dont have neither
     
  8. And what if i want others to play on it form not home machines?
     
  9. Then you’ll need to port forward.
     
  10. Config.yml
    Code (Text):
    ip_forward: true
    forge_support: false
    network_compression_threshold: 256
    stats: 1e569250-d288-4130-828d-dd79d2b3629c
    groups:
      Jeroeno_Boy:
      - admin
    servers:
      Lobby:
        motd: '&f&n ------&f[ &cUnreal network &f]&n------ \n &c&lWork in progress'
        address: 127.0.0.1:00001
        restricted: false
      KitPVP:
        motd: '&7KitPVP server'
        address: 127.0.0.1:00002
        restricted: false
      Minigames:
        motd: '&7Minigames server'
        address: 127.0.0.1:00003
        restricted: false
      Survival:
        motd: '&7Servival server'
        address: 127.0.0.1:00004
        restricted: false
    timeout: 30000
    player_limit: 500
    listeners:
    - query_port: 25565
      motd: '&f&n ------&f[ &cUnreal network &f]&n------'
      tab_list: GLOBAL_PING
      query_enabled: false
      proxy_protocol: false
      forced_hosts:
        pvp.md-5.net: Lobby
      ping_passthrough: false
      priorities:
      - Lobby
      bind_local_address: true
      host: hidden :P <different in the real config.yml>
      max_players: 500
      tab_size: 60
      force_default_server: true
    prevent_proxy_connections: false
    permissions:
      default:
      - bungeecord.command.server
      - bungeecord.command.list
      admin:
      - bungeecord.command.alert
      - bungeecord.command.end
      - bungeecord.command.ip
      - bungeecord.command.reload
    online_mode: true
    log_commands: false
    disabled_commands:
    - disabledcommandhere
    connection_throttle: 4000
     
    Console:
    Code (Text):
    14:53:06 [INFO] Using standard Java JCE cipher.
    14:53:06 [INFO] Using standard Java compressor.
    14:53:06 [INFO] Enabled BungeeCord version git:BungeeCord-Bootstrap:1.12-SNAPSHOT:fde2c3f:1310
    14:53:06 [INFO] Discovered module: ModuleSpec(name=cmd_alert, file=modules\cmd_alert.jar, provider=JenkinsModuleSource())
    14:53:06 [INFO] Discovered module: ModuleSpec(name=cmd_find, file=modules\cmd_find.jar, provider=JenkinsModuleSource())
    14:53:06 [INFO] Discovered module: ModuleSpec(name=cmd_list, file=modules\cmd_list.jar, provider=JenkinsModuleSource())
    14:53:06 [INFO] Discovered module: ModuleSpec(name=cmd_send, file=modules\cmd_send.jar, provider=JenkinsModuleSource())
    14:53:06 [INFO] Discovered module: ModuleSpec(name=cmd_server, file=modules\cmd_server.jar, provider=JenkinsModuleSource())
    14:53:06 [INFO] Discovered module: ModuleSpec(name=reconnect_yaml, file=modules\reconnect_yaml.jar, provider=JenkinsModuleSource())
    14:53:06 [INFO] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Loaded plugin cmd_find version git:cmd_find:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Loaded plugin cmd_server version git:cmd_server:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Loaded plugin cmd_alert version git:cmd_alert:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Loaded plugin cmd_send version git:cmd_send:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Loaded plugin cmd_list version git:cmd_list:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Enabled plugin reconnect_yaml version git:reconnect_yaml:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Enabled plugin cmd_find version git:cmd_find:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Enabled plugin cmd_server version git:cmd_server:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Enabled plugin cmd_alert version git:cmd_alert:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Enabled plugin cmd_send version git:cmd_send:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [INFO] Enabled plugin cmd_list version git:cmd_list:1.12-SNAPSHOT:fde2c3f:1310 by SpigotMC
    14:53:06 [WARNING] Could not bind to host hidden/hidden:25565
    java.net.BindException: Cannot assign requested address: bind
        at sun.nio.ch.Net.bind0(Native Method)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.Net.bind(Unknown Source)
        at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
        at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:128)
        at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:558)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1358)
        at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501)
        at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486)
        at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:1019)
        at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:254)
        at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:366)
        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
        at java.lang.Thread.run(Unknown Source)
    14:53:10 [INFO] Closing pending connections
    14:53:10 [INFO] Disconnecting 0 connections
    14:53:11 [INFO] Disabling plugins
    14:53:11 [INFO] Closing IO threads
    14:53:13 [INFO] Thank you and goodbye
     
     
  11. electronicboy

    IRC Staff

    you leave it on 0.0.0.0, and port forward from your router to your machine. Your computer does NOT have your external IP address on it (which is why it's screaming, you're trying to bind to an address which does not exist whatsoever on your machine), you have an address on your private network which is then translated by your router to the outside world.
     
  12. only thing is, portforwarded it and doesnt connect
     

Share This Page