FlexHub Forum

How can I run two hubs

How can I run two hubs
« on: July 30, 2014, 15:17:59 »
Hello, how can I run 2nd hub at the same port 411. I would be grateful for any help.
..:: eXodus DC HuB™ ::..   exodusnet.org:1411

Offline sergius_s

  • *
  • 236
  • Be yourself...
Re: How can I run two hubs
« Reply #1 on: July 30, 2014, 15:21:16 »
Unfortunately - no.
You can buy two dedicated server or you can have two personal server with different IP addresses - then it is not a problem
« Last Edit: July 30, 2014, 15:24:50 by sergius_s »
- I'm sorry for my terrible english...

Re: How can I run two hubs
« Reply #2 on: July 30, 2014, 16:25:11 »
I have two addresses on the server, but the question is how do I run a server with a different IP address, It mean here is that I have already rewritten the 1st IP server, but the 2nd while do not want  to running.
..:: eXodus DC HuB™ ::..   exodusnet.org:1411

Offline FlipFlop™

  • FlexHub Developer
  • *****
  • 505
Re: How can I run two hubs
« Reply #3 on: August 06, 2014, 14:37:15 »
Hi Marco,

You can bind the port FlexHub listens on to an IP, so you can run multiple hubs with same port as long as they listen to separate internal IPs (on separate NICs).

Windows: you can change the Bind from * to the IP you want in the console.
On Linux, you can use the startup switch: --bind=<ip>
For example:  --bind==192.168.0.1

Or you can modify the "bind" option in the file FlexHub.lua from "*" to "<ip>"
For example:     ["bind"] = "192.168.0.1",
Check the new FlexHubList!           Add awesome statistics like this for your hub!

This post is a natural product. The slight variations in spelling and grammar enhance its individual character and beauty and in no way are to be considered flaws or defects.