Hey all, I need some help with setting up multiple public IPs pointing to one server. Our company is currently renting a dedicated machine with two network interfaces on it, but we have 20 public IPs assigned to our account. We're using our box for Minecraft hosting, and we offer a dedicated IP as an option, but since I've had to completely wipe and reinstall Ubuntu server onto our box, it seems that I've lost the ability to use the other IPs we've got assigned to our account/box.
Whenever I try to assign a different public IP to our machine, it throws a "failed to bind to port" error and shuts down, no matter what service/application I'm using (Minecraft server, Apache, NGINX, etc.). My question is how do I make the main network interface (em2 in our case) able to use the other IP addresses available to us. The IPs that we have access to are 38.130.218.78 - 38.130.218.78.98, and we're currently running Ubuntu Server 14.04. Any help would be greatly appreciated, as I couldn't find the answer to this anywhere else.
Thats usually due to a service already using the port, or Ubuntu thinking it is. An IP address wont use any ports when your assigning it to an interface as all your doing is assigning it to an interface not a service. Have you added the IP addresses to the servers ethernet interfaces?