# could not connect to host...

**URL:** https://forum.clonkspot.org/t/could-not-connect-to-host/889
**Category:** Help
**Created:** [9. Juli 2015 um 17:28 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889 "2015-07-09T17:28:29Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Zergon](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/z/49beb7/32.png) [@Zergon](https://forum.clonkspot.org/u/Zergon)
#### Post date: [9. Juli 2015 um 17:28 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/1 "2015-07-09T17:28:29Z")

</div>

I am using a windows 7 system and most of the time I get the "could not connect to host…" error, but certain severs I can get into. I am not sure what the cause of this error is, but I am fairly certain that it is not a firewall problem. Restarting the computer does not fix the issue. Any ideas?

---

<div class="post-metadata">

### Author: ![Loyalty](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/l/bbce88/32.png) [@Loyalty](https://forum.clonkspot.org/u/Loyalty)
#### Post date: [9. Juli 2015 um 18:00 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/2 "2015-07-09T18:00:20Z")

</div>

The host probably didn't forward his ports/made a firewall exception, so it probably isn't your fault.

---

<div class="post-metadata">

### Author: ![Zergon](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/z/49beb7/32.png) [@Zergon](https://forum.clonkspot.org/u/Zergon)
#### Post date: [9. Juli 2015 um 19:32 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/3 "2015-07-09T19:32:32Z")

</div>

Maybe it is me… how do I forward my ports?

---

<div class="post-metadata">

### Author: ![Luchs](https://forum.clonkspot.org/user_avatar/forum.clonkspot.org/luchs/32/9_2.png) [@Luchs](https://forum.clonkspot.org/u/Luchs)
#### Post date: [9. Juli 2015 um 19:46 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/4 "2015-07-09T19:46:05Z")

</div>

Forwarding ports is only important when you're the one hosting the game. It's a setting in your router's web interface. You'd have to forward ports 11112 (TCP) and 11113 (UDP) to your computer.

---

<div class="post-metadata">

### Author: ![Kanibal](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@Kanibal](https://forum.clonkspot.org/u/Kanibal)
#### Post date: [10. Juli 2015 um 02:34 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/5 "2015-07-10T02:34:19Z")

</div>

Until Luchs comes up with a fancy idea to show users with blocked ports a banner upon starting a game, you can use [CREMA](https://frustrum.pictor.uberspace.de/crema/) (_Clonk Rage Enhanced Masterserver Analyzer_, **working title**!). It is basically a tool which knocks on all supplied ports to check whether the host did forward them.

---

<div class="post-metadata">

### Author: ![Zapper](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/z/a88e4f/32.png) [@Zapper](https://forum.clonkspot.org/u/Zapper)
#### Post date: [10. Juli 2015 um 11:08 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/6 "2015-07-10T11:08:38Z")

</div>

That's afaik implemented in OC @banner

---

<div class="post-metadata">

### Author: ![Kanibal](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@Kanibal](https://forum.clonkspot.org/u/Kanibal)
#### Post date: [10. Juli 2015 um 13:36 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/7 "2015-07-10T13:36:36Z")

</div>

It is also possible in Rage: [https://github.com/ckanibal/clonk-rage/blob/master/src/network/C4League.cpp#L299](https://github.com/ckanibal/clonk-rage/blob/master/src/network/C4League.cpp#L299)

---

<div class="post-metadata">

### Author: ![Zapper](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/z/a88e4f/32.png) [@Zapper](https://forum.clonkspot.org/u/Zapper)
#### Post date: [11. Juli 2015 um 08:25 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/8 "2015-07-11T08:25:40Z")

</div>

I don't understand this line - it doesn't have anything to do with blocked ports, does it?  
  
I meant that in OC users are actually notified with a banner when their ports seem to be blocked.

---

<div class="post-metadata">

### Author: ![B\_E](https://forum.clonkspot.org/user_avatar/forum.clonkspot.org/b_e/32/29_2.png) [@B\_E](https://forum.clonkspot.org/u/B_E)
#### Post date: [11. Juli 2015 um 08:49 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/9 "2015-07-11T08:49:32Z")

</div>

I think he means that CR can also display a banner with a message from the Masterserver. If you then implement then banner check in the masterserver, it can send a message to the client on the next reference update/signup.

---

<div class="post-metadata">

### Author: ![Kanibal](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@Kanibal](https://forum.clonkspot.org/u/Kanibal)
#### Post date: [11. Juli 2015 um 18:59 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/10 "2015-07-11T18:59:53Z")

</div>

You can even do it for the current reference - when the client sends the reference to the masterserver, the sockets should already have been established.

---

<div class="post-metadata">

### Author: ![Luchs](https://forum.clonkspot.org/user_avatar/forum.clonkspot.org/luchs/32/9_2.png) [@Luchs](https://forum.clonkspot.org/u/Luchs)
#### Post date: [13. Juli 2015 um 16:34 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/11 "2015-07-13T16:34:58Z")

</div>

Are you sure? I think there's a small window where a game appears in the list, but you can't connect to it yet.

---

<div class="post-metadata">

### Author: ![Kanibal](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@Kanibal](https://forum.clonkspot.org/u/Kanibal)
#### Post date: [30. November 2015 um 05:32 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/12 "2015-11-30T05:32:11Z")

</div>

Ich habe CREMA eben abgeschalten, Source (zum selberhosten) gibt’s [hier](https://github.com/ckanibal/crema).

---

<div class="post-metadata">

### Author: ![scaba](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/s/c67d28/32.png) [@scaba](https://forum.clonkspot.org/u/scaba)
#### Post date: [30. November 2015 um 12:28 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/13 "2015-11-30T12:28:00Z")

</div>

Warum? ☹

---

<div class="post-metadata">

### Author: ![Luchs](https://forum.clonkspot.org/user_avatar/forum.clonkspot.org/luchs/32/9_2.png) [@Luchs](https://forum.clonkspot.org/u/Luchs)
#### Post date: [12. Januar 2016 um 20:27 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/14 "2016-01-12T20:27:26Z")

</div>

I re-hosted it at [https://crema.clonkspot.org/](https://crema.clonkspot.org/)

---

<div class="post-metadata">

### Author: ![TLK](https://forum.clonkspot.org/letter_avatar_proxy/v4/letter/t/ea666f/32.png) [@TLK](https://forum.clonkspot.org/u/TLK)
#### Post date: [12. Januar 2016 um 21:26 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/15 "2016-01-12T21:26:01Z")

</div>

Is it possible to integrate this into the Live games list?

---

<div class="post-metadata">

### Author: ![Luchs](https://forum.clonkspot.org/user_avatar/forum.clonkspot.org/luchs/32/9_2.png) [@Luchs](https://forum.clonkspot.org/u/Luchs)
#### Post date: [12. Januar 2016 um 21:27 UTC](https://forum.clonkspot.org/t/could-not-connect-to-host/889/16 "2016-01-12T21:27:45Z")

</div>

Yes, this is planned - but obviously a lot more work than hosting an existing app.
