Fixed a few stupid errors - server respects port now