Add server side port definition support
Signed-off-by: Nightmaster <nightmaster@seitaer.com>