server: properly configure port without argument