Sixten Peterson

Sixten Peterson

Live

I have two servers running on the same public ip (but different ssh ports), one of my servers are running as a "Server" server type and I'd like for the other to be running as a "Database Server" server type, however, trying to install the database server results in the following error message(s):

It would be great if I - and others - could be able to have multiple servers on the same ip as long as the server type and ports don't collide with each other.

If there is any questions, please reach out and I'll try to answer!

Ponyhof LLC

Ponyhof LLC

·

I was going to request this too after confirming it was a limitation. It is a waste of limited IPv4 addresses if servers are behind a load balancer or otherwise on an internal network.

I was also going to try IPv6 as a workaround (not sure if that would work), just so I didn't have to use up my IPv4 addresses. My ultimate preference would be if Ploi could be configured to use VPN to access everything from my private network side.

Dennis

Dennis

·

This should be supported now, can you guys please test this?

Sixten Peterson

Sixten Peterson

·

On it, give me about half an hour and I'll reply with how it went.

Sixten Peterson

Sixten Peterson

·

I still get the same error as before but not for the SSH port anymore only for the ip.

Dennis

Dennis

·

What does the error look like now?

Sixten Peterson

Sixten Peterson

·

Sent image in Discord,

Sixten Peterson

Sixten Peterson

· ·

Never mind, just realised what I did wrong. Should've been port 23 and not 22. Really sorry. I did it right the first time but got logged out so I had to reenter stuff which ended up in me not filling it out correctly the next time. Now it's the same error for the ssh port as in the first message in this thread but the ip seems to be working without any issues.

EDIT: Port is open. IP and port is correct is the correct one. (Double checked) Error message is "The selected ssh port is invalid.".

Dennis

Dennis

·

That is because port 23 is reserved for other services, do another? Like 31?

Sixten Peterson

Sixten Peterson

·

Oh I didn't know that. Is there some kind of list I can refer to for this? I just figured port 23 wouldn't be used for anything on a database server with MariaDB. I'll try port 31 asap, thanks.

Dennis

Dennis

·

These are the ports we don't allow by default because of reserved services:

                21, // ftp
                23, // telnet
                25, // smtp
                53, // dns
                67, // dhcp
                80, //webserver
                143, // imap
                443, // ssl
                465, // smtp
                587, // smtp
Sixten Peterson

Sixten Peterson

· ·

Awesome, thanks! Seeing the list it makes sense, never used telnet so that is probably why I wasn't aware of it. Since the error message is very general I would never have known this if you wouldn't have told me. Changed it to port 31 and it looks like it's installing. Thanks for everything! Afaik everything works, I'm in the middle of the installer right now.

Dennis

Dennis

·

Please keep me posted!

Sixten Peterson

Sixten Peterson

· ·

Installation succeeded, I have yet to add any databases but it looks good to me.

Edit: Works like a charm! Thanks a lot for everything, this made my day.

Dennis

Dennis

·

Ok great, then we're going to publish this officially.

You may use @ to mention someone.

Support for running multiple servers on the same IP

2 total votes
Ponyhof LLC Sixten Peterson
  • Dennis moved item to board Live

    2 months ago
  • Dennis moved item to board In progress

    2 months ago
  • Dennis moved item to board Planned

    2 months ago
  • Sixten Peterson moved item to project Server Level Requests

    2 months ago
  • Sixten Peterson created the item

    2 months ago