Page 1 of 1

Two servers in one IP with ports

Posted: Wed Jun 29, 2016 1:54 am
by bence94
Hey everyone! I would like to install two (2) servers in one IP. Reach them across ports, ex. 192.168.1.5:100, 192.168.1.5:320.
Where can I find the config file where I need to set up port, or smthg. Im using Centos 7. I already installed NagiosXI, and one server is waiting to install.

Thanks for help

Best regards.

Re: Two servers in one IP with ports

Posted: Wed Jun 29, 2016 10:05 am
by rkennedy
You would need to have NAT configured on 192.168.1.5 and then forwarded to the XI machines, you simply cannot assign the same IP to two machines unless you're dealing with some sort of multicast setup.

Re: Two servers in one IP with ports

Posted: Sat Jul 02, 2016 5:38 am
by jacek
Isn't it possible with apache virtual hosts?

Re: Two servers in one IP with ports

Posted: Sun Jul 03, 2016 11:44 pm
by Box293
bence94 wrote:I would like to install two (2) servers in one IP.
bence94 wrote:I already installed NagiosXI, and one server is waiting to install.
What exactly do you mean by this? Are you trying to install 2 instances of Nagios XI on the one server?