Thread: Running Multiple Servers

Results 1 to 7 of 7
  1. #1 Running Multiple Servers 
    Registered Member
    Join Date
    Jul 2013
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    12
    I need to run two servers on one vps. I have portforwarded 2 different ports and that is not my problem both work fine. Problem is that when one is running and the other is started it gets to a certain point of initialization and says

    Code:
    starting...
    [Thu Aug 01 20:48:07 CDT 2013] Initing Cache...
    [Thu Aug 01 20:48:07 CDT 2013] Initing Data Files...
    [Thu Aug 01 20:48:08 CDT 2013] Initing Fishing Spots...
    [Thu Aug 01 20:48:08 CDT 2013] Initing Dialogues...
    [Thu Aug 01 20:48:08 CDT 2013] Initing Controlers...
    [Thu Aug 01 20:48:08 CDT 2013] Initing Cutscenes...
    [Thu Aug 01 20:48:08 CDT 2013] Initing NPC Combat Scripts...
    [Thu Aug 01 20:48:08 CDT 2013] Initing Cores Manager...
    [Thu Aug 01 20:48:09 CDT 2013] Initing World...
    [Thu Aug 01 20:48:09 CDT 2013] Initing Region Builder...
    [Thu Aug 01 20:48:09 CDT 2013] Initing Server Channel Handler...
    org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:43595
            at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
            at com.rs.net.ServerChannelHandler.<init>(ServerChannelHandler.java:46)
            at com.rs.net.ServerChannelHandler.init(ServerChannelHandler.java:28)
            at com.rs.Launcher.main(Launcher.java:88)
     Caused by: java.net.BindException: Address already in use: 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 sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
            at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
            at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:366)
            at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:290)
            at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    [Thu Aug 01 20:48:09 CDT 2013] Failed initing Server Channel Handler. Shutting down...
    Press any key to continue . . .

    I know I'm already running another source and I have 2 different ip's in no-ip but i know some how you can run 2 sources. Thanks in advance
    PS. anyone who can help solve this i wil Rep++
    Reply With Quote  
     

  2. #2  
    Super Donator

    Batukka's Avatar
    Join Date
    Oct 2011
    Posts
    2,433
    Thanks given
    86
    Thanks received
    342
    Rep Power
    496
    The port is inuse, you need use different port for 2nd server.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2013
    Posts
    194
    Thanks given
    36
    Thanks received
    1
    Rep Power
    11
    The ports cannot be the same for both.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2013
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    12
    The ports are different.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by Cobra0702 View Post
    The ports are different.
    Have one run on 43595 and one on 43594. Well post bother the server's main class here
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Jul 2013
    Posts
    53
    Thanks given
    2
    Thanks received
    7
    Rep Power
    0
    If your server is running an update server (for cache streaming), it will be binded to port 43595. Try using 5555 for the secondary server.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jul 2013
    Posts
    71
    Thanks given
    2
    Thanks received
    1
    Rep Power
    12
    I fixed it, i forgot to add a firewall exception and utorrent needed to have the port changed and changed back. Easy fix thanks to myself and you guys for making me remember
    If anyone wants to play either of my servers just post again
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Running 503 server, come play
    By knight30303 in forum RS 503+ Client & Server
    Replies: 10
    Last Post: 08-06-2008, 04:59 PM
  2. What Kind of Host do you use to Run your server?
    By racelin2 in forum RS2 Server
    Replies: 2
    Last Post: 06-13-2008, 05:19 PM
  3. [ Help ] Run a server off you Ip Address?
    By Kodman262 in forum RS2 Server
    Replies: 0
    Last Post: 04-24-2008, 03:40 AM
  4. Running 2 Servers at once
    By XxOwNxX in forum Tutorials
    Replies: 11
    Last Post: 11-10-2007, 06:03 PM
  5. How to run 2 servers at once!
    By booher in forum Tutorials
    Replies: 13
    Last Post: 08-22-2007, 03:48 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •