WIP: invoke the standalone server and tweak the server to handle ports