changed items for socket to port instead to make it more user friendly