Use compare methos instead of equality operator so we dont compare ports