Change default port to 0. Closes #2092