Not necessarily.
On the listening side, you could bind to “any” IP address (you must specify a port), meaning you are listening to all incoming IP.
Depending on the software, you can generally specify the port only, or you explicitally bind to “any” that way: “0.0.0.0:8000”.
That being said, “:8000” will (should) only accept connections from the local machine, but that should work in your case.