Ip of servers

how i can know the ip of a server?

F1 look at the top where it says net.connect <ip>

why i canĀ“t enter a server