Added 'Port' field to the register page.