Trying ports and hosts