# Irc.chat.twitch.tv:6667 doesnt work but irc.chat.twitch.tv:80 does

**URL:** <https://discuss.dev.twitch.com/t/irc-chat-twitch-tv-6667-doesnt-work-but-irc-chat-twitch-tv-80-does/5771>\
**Category:** Chat and IRC\
**Created:** [April 15, 2016, 10:24pm UTC](https://discuss.dev.twitch.com/t/irc-chat-twitch-tv-6667-doesnt-work-but-irc-chat-twitch-tv-80-does/5771 "2016-04-15T22:24:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhQk](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dhqk/32/3386_2.png) [@dhQk](https://discuss.dev.twitch.com/u/dhQk)\
**Post date:** [April 15, 2016, 10:24pm UTC](https://discuss.dev.twitch.com/t/irc-chat-twitch-tv-6667-doesnt-work-but-irc-chat-twitch-tv-80-does/5771/1 "2016-04-15T22:24:38Z")

</div>

As title says. anyone else having this problem? The TCP Connection connects, but I am not getting the 001-004 replies.

---

<div class="post-metadata">

**Author:** ![TrainerTimmy](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/trainertimmy/32/1050_2.png) [@TrainerTimmy](https://discuss.dev.twitch.com/u/TrainerTimmy)\
**Post date:** [April 16, 2016, 12:16am UTC](https://discuss.dev.twitch.com/t/irc-chat-twitch-tv-6667-doesnt-work-but-irc-chat-twitch-tv-80-does/5771/2 "2016-04-16T00:16:06Z")

</div>

I can get those replies fine from `irc.twitch.tv:6667`, have you tried that?

---

<div class="post-metadata">

**Author:** ![tournymasterbotCurse](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@tournymasterbotCurse](https://discuss.dev.twitch.com/u/tournymasterbotCurse)\
**Post date:** [April 18, 2016, 3:46pm UTC](https://discuss.dev.twitch.com/t/irc-chat-twitch-tv-6667-doesnt-work-but-irc-chat-twitch-tv-80-does/5771/3 "2016-04-18T15:46:40Z")

</div>

6667 is a tcp connection (IRC style connection)  
80 (non ssl) / 443 (ssl) are websocket ports (IE: javascript connections)

Which port you use depends on how you connect / consume.

---

<div class="post-metadata">

**Author:** ![tduva](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/tduva/32/392_2.png) [@tduva](https://discuss.dev.twitch.com/u/tduva)\
**Post date:** [April 18, 2016, 5:33pm UTC](https://discuss.dev.twitch.com/t/irc-chat-twitch-tv-6667-doesnt-work-but-irc-chat-twitch-tv-80-does/5771/4 "2016-04-18T17:33:36Z")

</div>

That’s not true anymore, since the [switch to AWS](https://discuss.dev.twitch.com/t/psa-chat-servers-are-going-to-migrate-to-aws-ec2-servers/4877) you get raw IRC via `irc.chat.twitch.tv` (or `irc.twitch.tv`) and IRC over Websocket via `irc-ws.chat.twitch.tv`. The ports don’t matter for that distinction anymore.

On the original topic: I can connect to `irc.chat.twitch.tv` using raw IRC (no Websockets) just fine, on all 4 ports: 80, 6667, 443 (SSL), 6697 (SSL)

Both `irc.chat.twitch.tv` and `irc.twitch.tv` resolve to the same IPs, so there shouldn’t be much difference. It’s possible that the IPs are in a different order so that you get a different IP if you just request one from your environment and that that specific server has issues. I’ve also heard of an issue with the certificate when connecting to `irc.twitch.tv` via SSL.

Either way, if these issues persist it would be useful to know which IP exactly you are trying to connect to, so others can test if they are running into the same problem.

---

<div class="post-metadata">

**Author:** ![xangold](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/xangold/32/527_2.png) [@xangold](https://discuss.dev.twitch.com/u/xangold)\
**Post date:** [April 28, 2016, 11:13pm UTC](https://discuss.dev.twitch.com/t/irc-chat-twitch-tv-6667-doesnt-work-but-irc-chat-twitch-tv-80-does/5771/5 "2016-04-28T23:13:01Z")

</div>

Hi,

[irc.chat.twitch.tv](http://irc.chat.twitch.tv) 6667 should work for IRC. Can you please post raw connection logs, both incoming and outgoing?

Is it possible that a firewall is blocking your data? Some will block 6667, but not 80 (which is why we use 80 on our website)

---

<div class="post-metadata">

**Author:** ![dhQk](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/dhqk/32/3386_2.png) [@dhQk](https://discuss.dev.twitch.com/u/dhQk)\
**Post date:** [April 29, 2016, 5:59am UTC](https://discuss.dev.twitch.com/t/irc-chat-twitch-tv-6667-doesnt-work-but-irc-chat-twitch-tv-80-does/5771/6 "2016-04-29T05:59:25Z")

</div>

this was it exactly, was testing some stuff at work (dont tell my boss im making twitch chat clients). also how do i close this topic to hide my shame.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [May 29, 2016, 5:59am UTC](https://discuss.dev.twitch.com/t/irc-chat-twitch-tv-6667-doesnt-work-but-irc-chat-twitch-tv-80-does/5771/7 "2016-05-29T05:59:26Z")

</div>

Closed on May 29, 2016, 5:59am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
