Connecting to a TF2 server by IP address
To join a Team Fortress 2 server using its IP address, open the game, click the "Servers" tab at the main menu, then click "Add Server" at the bottom of the server browser window. Paste the server's IP address and port number into the text field — the format looks like 192.168.1.1:27015 — then click "Add This Server". The server will appear in your favorites list, and you can double-click it to connect.
If you already know the server's IP and port but want to skip the server browser entirely, you can connect directly from the console. Press the backtick key (`) to open the console, then type connect 192.168.1.1:27015 and press Enter. The game will launch the map and load you into the server without opening the browser.
The port number matters. Most TF2 servers use port 27015, but some use different ports. If you have only the IP address without a port, try 27015 first. If that does not work, the person who gave you the address should provide the port number as well.
Key Takeaways
- You need both the server's IP address and its port number, usually formatted as 192.168.1.1:27015.
- The server browser method (Servers tab → Add Server) saves the server to your favorites for quick access later.
- The console method (backtick key, then connect command) connects you directly without using the browser.
- If you have only an IP address without a port, ask the server owner or try port 27015, which is the default.
Using the server browser to add and join
The server browser is the most straightforward route if you want to keep the server saved for future sessions. Launch TF2, click the "Servers" tab at the top of the main menu, and look for the "Add Server" button at the bottom of the window. A text field will appear where you type the full address: IP, then a colon, then the port number with no spaces.
Once you click "Add This Server", it moves to your "Favorites" list. You can then double-click the server name to connect, or right-click it to see options like removing it, refreshing its status, or viewing player count and map information. This method is useful if you play on the same servers regularly.
The server browser also shows you the server's current map, how many players are connected, and whether it is full. If the server is full, you will join a queue and wait for a slot to open.
Connecting through the console
The console is faster if you are connecting once and do not need to save the server. Press the backtick key (`) — located to the left of the 1 key on most keyboards — to open the developer console. Type connect followed by a space, then the IP address and port, and press Enter.
The command looks like this: connect 192.168.1.1:27015. TF2 will immediately begin loading the server's map and connecting you to the game. You do not need to navigate menus or wait for the server browser to refresh.
If the console does not open when you press backtick, the console may be disabled in your settings. Go to Options → Keyboard → Advanced and check the box labeled "Enable Developer Console". After that, backtick will work.
Finding a server's IP address and port
The person who invites you to a server should provide both the IP address and port number. If they give you only the IP, ask for the port as well — do not assume it is 27015, because while that is the default, many servers use custom ports.
If you are looking for a server's address after someone has already told you about it, you can ask in the server's Discord channel or on its website. Some server communities post their connection details in a pinned message or on a "Connect" page.
You can also find the server's address in your console history after you have played on it once. Type status into the console while in-game, and the output will show the server's IP and port at the top of the list.
Troubleshooting connection problems
If you type the address correctly but the connection fails, the server may be offline or full. Wait a few seconds and try again. If it still does not work, double-check the IP and port — a single wrong digit will prevent connection.
If you see a message like "Connection Failed" or "Server Not Responding", the server may be temporarily down for maintenance or updates. Ask the server owner or check their Discord to see if they are aware of the issue. Some servers restart on a schedule, so trying again in a few minutes may work.
If the console command does not work but you typed it correctly, try using the server browser method instead. Occasionally the console connection can time out, but the browser will retry automatically.
Saving servers you play on regularly
Once you add a server through the server browser, it stays in your Favorites list even after you close the game. This means you do not have to ask for the IP address again or type it manually each time. Simply open the Servers tab, find the server in your Favorites, and double-click to connect.
You can organize your favorites by right-clicking a server and selecting options to sort by ping, player count, or map. If you play on many servers, this keeps your list manageable and makes it easy to find the one you want.
If you want to remove a server from your favorites, right-click it and select "Remove Server". This does not affect the server itself — you can always add it back later if you have the IP address.
Understanding IP addresses and ports
An IP address is a unique number that identifies a computer on the internet, similar to a mailing address. A port is a specific channel on that computer where a particular service runs. TF2 servers listen on a port so the game knows where to send your connection request.
The format 192.168.1.1:27015 means "connect to the computer at 192.168.1.1 on port 27015". If you connect to the same IP but a different port, you reach a different server entirely — the same computer might host multiple servers on different ports.
You do not need to understand how IP addresses work to join a server; you only need to type the address correctly. But knowing that the colon and port number are required helps you recognize when someone has given you incomplete information.
Frequently Asked Questions
What if I only have the server's name, not its IP address?
You cannot connect by IP if you do not have the address. Ask the server owner or an admin for the IP and port. If you know the server's name, you might find it in the public server browser by searching for the name, but private or custom servers often do not appear there.
Can I connect to a server on a different computer in my house?
Yes, if that computer is running a TF2 server. Use its local IP address instead of an internet IP — these usually start with 192.168 or 10.0. You need to know the port the server is running on. Both computers must be on the same network for this to work.
Why does the server show as full when I try to connect?
The server has reached its player limit. You will join a queue and wait for someone to leave. The wait time depends on how many people are ahead of you and how long they stay. Some servers have reserved slots for admins or regulars, which can make the queue longer for new players.
Do I need to open any ports on my firewall to join a server?
No. You are connecting to the server, not hosting one, so your firewall does not need special configuration. If you cannot connect and you have a firewall or antivirus software, try temporarily disabling it to see if that is the cause. If it is, add TF2 to your firewall's allowed programs list.
What is the difference between adding a server and connecting through the console?
Adding a server through the browser saves it to your Favorites for future use. Connecting through the console connects you immediately but does not save the address. Use the browser if you play on the server regularly; use the console if you are connecting once and do not need to save it.