You cannot edit the port number from the Specify connection details window, but you can specify a different port when you log on to the mainframe.