Fixing port numbers