Made some changes to socket ports.