Two servers in one IP with ports

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bence94
Posts: 1
Joined: Mon Jun 27, 2016 1:44 am

Two servers in one IP with ports

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Two servers in one IP with ports

Post 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.
Former Nagios Employee
jacek
Posts: 255
Joined: Wed Sep 09, 2015 5:49 am

Re: Two servers in one IP with ports

Post by jacek »

Isn't it possible with apache virtual hosts?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Two servers in one IP with ports

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked