Author Topic: Running multiple servers on same network  (Read 1452 times)

Legacy_BelowTheBelt

  • Hero Member
  • *****
  • Posts: 699
  • Karma: +0/-0
Running multiple servers on same network
« on: April 01, 2016, 03:52:03 am »


               

I broke my server into 2 separate modules.


 


The intention was to run one module on one server box and the other module on the other server box.


 


I'm running into issues with the port forwarding for the second box because, as I'm learning, ports can only be forwarded to a single machine.  Are there ways around this?


 


If not, I'm interested to know if it's possible (I believe it is) to run multiple server instances on the same machine.  If so, how does that work?


 


Thanks!


 


 



               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Running multiple servers on same network
« Reply #1 on: April 01, 2016, 02:33:46 pm »


               

Yes. of course you cannot setup port forwarding for the same port to different internal IPs.  What you are doing with port forwarding is telling your home router that when it gets a packet addressed to its external IP on port X to send it on to internal IP on port X (or Y  - ports don't have to be the same).  There's no other information to determine which of multiple internal IPs to use. 


 


However, you can run one of the servers on a different port and forward that one. You don't have to use 5121. 


 


Using different ports should also allow you to run multiples on the same machine (at least on Linux - I don't know if the windows server launcher will let you do that).  In that case you will forward both ports to the same internal IP.