If you still want to run in only one server, then Google for linux network namespaces.
You can run various process each in separate context.
But you will still need various public IP address. You can then use NAT or IP tunnels to communicate to internet.
It's a bit complex, but it works.