Add default port
Syntax check before reloads