Made the port number a part of protcol.