I want to change the port number a program listens on. The program is a proprietary linux binary, Plex, that always listens to tcp port 32400 (hard-coded).  Since I want to run this on a shared server, another person may already be using this port.  I do not have root access on the server.  The VPS provider is OK with Plex running on their servers.Would it be possible to use something like LD_PRELOAD to change the port number? If so, how would I go about doing this?  If not, how else might I accomplish this?Issues changing default port from 32400 on VPS
How can I change the a port a program listens on?
linux;c