probably a very newbie-ish question for people who run web servers out there: how do you manage port numbers?
in my case, i'm running this activitypub node, along with a few websites for various projects, all on a vps, with nginx doing the routing between domains and the actual services
so far when i add a new service, i pick a "random" port number by just… thinking one up, and hoping it's not already used

there's got to be a better way, right?
just keep a document with used ports and their services?
or is there a tool that real sysadmins use?


@gaeel I never administered a server that I shared with others, so I just picked "random" ports below 10k - 8888, 8080, 8443, ..
my site is now on uberspace and they have a custom tool where you can ask for a port and in the background the routing and firewall is set up - and nobody else can claim it ( )
imo document with config details is enough, I'd probably forget to use the tool if I wasn't forced to do it because of shared resources

· · Web · 1 · 0 · 1 oh, thankfully i'm the sole administrator of this server, so that's not an issue
and yeah, given everything i've read so far, it seems that just keeping a document is the way to go

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!