Registry Updated to take input port number