<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Teeworlds Forum — [TUTORIAL/SOLUTION] How to find more servers! Windows]]></title>
		<link>https://www.teeworlds.com/forum/viewtopic.php?id=10752</link>
		<atom:link href="https://www.teeworlds.com/forum/extern.php?action=feed&amp;tid=10752&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [TUTORIAL/SOLUTION] How to find more servers! Windows.]]></description>
		<lastBuildDate>Tue, 07 Jan 2014 19:03:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [TUTORIAL/SOLUTION] How to find more servers! Windows]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=109720#p109720</link>
			<description><![CDATA[<p>Quite interesting solution I&#039;ll keep this in mind <img src="https://www.teeworlds.com/forum/img/smilies/smile.png" alt="smile" /><br />Thanks for sharing</p>]]></description>
			<author><![CDATA[null@example.com (east)]]></author>
			<pubDate>Tue, 07 Jan 2014 19:03:00 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=109720#p109720</guid>
		</item>
		<item>
			<title><![CDATA[[TUTORIAL/SOLUTION] How to find more servers! Windows]]></title>
			<link>https://www.teeworlds.com/forum/viewtopic.php?pid=109707#p109707</link>
			<description><![CDATA[<h5>Hello community,</h5><p><span style="color: blue">(this tutorial is available in german <a href="http://teeworlds-friends.de/Forum/index.php?page=Thread&amp;postID=171544#post171544"> here</a>)</span><br />some users are complaining that they are only able to find just a little part of the servers.</p><p>This issue may be caused by some router&#039;s firewall, which blocks some of the incoming packets of the server information.</p><p>To fix this blocking we need to create a port-forwarding.</p><p>(Maybe the packets are blocked by the internal firewall of Windows, you need to let teeworlds communicate through it then)</p><p>The biggest problem that we got is, that teeworlds used to bind on a dynamic port. So this makes it hard to open a specific port if teeworlds uses another one each time.<br /></p><h5> Bind Teeworlds to a specific port</h5><p>But Teeworlds already has got a built in config-variable: bindaddr</p><p>If this one is set, Teeworlds tries to bind to this address (including the port):<br /></p><div class="codebox"><pre><code>bindaddr &quot;localhost:PORT&quot;</code></pre></div><p>for examle:</p><div class="codebox"><pre><code>bindaddr &quot;localhost:54321&quot;</code></pre></div><p><strong>As this variable is not saved, you should insert it in your autoexec.cfg, use a linkage or create a .bat file in your teeworlds-folder with the following content (you have to change the PORT to your port of course):</strong></p><div class="codebox"><pre><code>@echo off

start &quot;&quot; &quot;teeworlds.exe&quot; &quot;bindaddr &quot;localhost:PORT&quot;&quot;

exit</code></pre></div><h5>Which Port should I use?</h5><p>The port is defined by 2 bytes (16 bits). Therefore it has 2^16 possibilities and a range from 0 to 65535.<br />But you should choose a port, which does NOT appear in this list as this port may be in use already: <a href="http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers"> List of used ports</a></p><h5>Test, if the binding was successfull</h5><p>We can simply use the Windows-TaskManage and a windows console to test the successfull binding:</p><p>First open your Task-Manager and activate the process-id:<br />Go to View-&gt;Select Columns<br /><span class="postimg"><img src="http://patrickrathje.de/images/teeworlds/socket-tut/TM.png" alt="TM" /></span><br /><span class="postimg"><img src="http://patrickrathje.de/images/teeworlds/socket-tut/SpaltenEinstellungTM.png" alt="TM2" /></span></p><br /><p>If you know the process-id of teeworlds we can do the next step:</p><p>Open your console and execute &quot;netstat -a -n -o&quot;, which gives us an overview of the used sockets.</p><p>Search on the right side for the known process-id:</p><p><span class="postimg"><img src="http://patrickrathje.de/images/teeworlds/socket-tut/console.png" alt="console" /></span></p><p>You should now see that teeworls bound to your specific port.<br />&quot;65535&quot; in this example is exactly the port I defined.<br />If your port does not match, it is probably in use, so you need to try another one <img src="https://www.teeworlds.com/forum/img/smilies/wink.png" alt="wink" /></p><br /><h5>Create the port forwarding</h5><p>I own a Fritz!Box, but the basic steps will be identical on other routers:</p><p>Just go to your port-settings and create an UDP based port forwarding.<br />The port on your router and the one to your computer should be the same, e.g. :<br />(You need to change the &quot;65535&quot; to your port-number).</p><p><span class="postimg"><img src="http://patrickrathje.de/images/teeworlds/socket-tut/fritz1.png" alt="fb" /></span></p><br /><p>And that&#039;s it. I hope this worked for you !</p><p>Sincerely,</p><p>Pata</p>]]></description>
			<author><![CDATA[null@example.com (Pata)]]></author>
			<pubDate>Sun, 05 Jan 2014 18:34:47 +0000</pubDate>
			<guid>https://www.teeworlds.com/forum/viewtopic.php?pid=109707#p109707</guid>
		</item>
	</channel>
</rss>
