the mtaserver.conf has a description for each setting, if the game port is 22003 and the server is running on your own pc, connect to 127.0.0.1 port 22003, if u want people from the outside to connect open the port the game is running on (default 22003 and the ase port which is the game port + 123 for example 22003+123 = 22126) and open the admin port, just remember WOTEVER PORTS YOU PICK, then thats what you open