Fix default port
Now exits after saving config