# Error when starting Discourse, Redis port already in use

**URL:** https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146
**Category:** Self-hosting
**Created:** [5월 19, 2019, 2:11오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146 "2019-05-19T14:11:15Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![MST2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mst2/32/139354_2.png) [@MST2](https://meta.discourse.org/u/MST2)
#### Post date: [5월 19, 2019, 2:11오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/1 "2019-05-19T14:11:15Z")

</div>

Alright, so a recently I got a message from my Uptime Monitor that my Discourse Forum went down. I checked what was going on. It was offline. Though the server it was running on was online. I rebuilt the app to start it again.  
Then I got this error:

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/0/f0649aa106462711486de0a88553341c9eeeea72.jpeg)

The only error messages I found, were following:

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/3/a3ec8593163711c738152027db461017863112d7.jpeg) ![image](https://global.discourse-cdn.com/meta/original/3X/6/3/63b81c55124e0305d361e4f5f009ec80592636d2.jpeg)

I don‘t have anything else running under that port though.

Can anyone help me? I do not know what I should do.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![MST2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mst2/32/139354_2.png) [@MST2](https://meta.discourse.org/u/MST2)
#### Post date: [5월 19, 2019, 9:37오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/2 "2019-05-19T21:37:01Z")

</div>

Could anyone help me?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [5월 19, 2019, 9:51오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/3 "2019-05-19T21:51:49Z")

</div>

How was this installed?

What else is on the machine if anything?

---

<div class="post-metadata">

### Author: ![MST2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mst2/32/139354_2.png) [@MST2](https://meta.discourse.org/u/MST2)
#### Post date: [5월 19, 2019, 10:03오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/4 "2019-05-19T22:03:08Z")

</div>

It was installed a while ago following the install guide. It just randomly went offline.

I run a Minecraft Server on the Server too. Though, it does not use Redis and it uses port 19132 so that should not be a problem. It has always worked with it. What I have noticed though, that if I go to the domain to my forum I get a page from nginx saying it works.

@Stephen

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [5월 19, 2019, 10:06오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/5 "2019-05-19T22:06:57Z")

</div>

If you `docker ps` what do you see? What’s the output of `docker info`?

Which plugins do you have installed?

---

<div class="post-metadata">

### Author: ![MST2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mst2/32/139354_2.png) [@MST2](https://meta.discourse.org/u/MST2)
#### Post date: [5월 20, 2019, 5:46오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/6 "2019-05-20T17:46:33Z")

</div>

Sorry for the late response:

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/0/90a6bf2edef336d055fac9a3c7935a1e18599cb5.jpeg)

I only had one plugin installed, the Check Mark thing for support.

@Stephen

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [5월 20, 2019, 7:13오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/7 "2019-05-20T19:13:53Z")

</div>

And if you `netstat -tulpn | grep 6379` ?

---

<div class="post-metadata">

### Author: ![MST2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mst2/32/139354_2.png) [@MST2](https://meta.discourse.org/u/MST2)
#### Post date: [5월 20, 2019, 7:52오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/8 "2019-05-20T19:52:40Z")

</div>

> [@Stephen](#):
>
> netstat -tulpn | grep 6379

Command not found.  
Do I need to run it in the discourse folder?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [5월 20, 2019, 7:56오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/9 "2019-05-20T19:56:49Z")

</div>

Is the server running ubuntu?

If so `sudo apt-get install net-tools`

The path you run it from isn’t important.

---

<div class="post-metadata">

### Author: ![MST2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mst2/32/139354_2.png) [@MST2](https://meta.discourse.org/u/MST2)
#### Post date: [5월 20, 2019, 7:58오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/10 "2019-05-20T19:58:17Z")

</div>

It‘s running debian, which is basically ubuntu… Yeah.  
I‘ll install that then I will run the command.

---

<div class="post-metadata">

### Author: ![MST2](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mst2/32/139354_2.png) [@MST2](https://meta.discourse.org/u/MST2)
#### Post date: [5월 20, 2019, 8:00오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/11 "2019-05-20T20:00:36Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/b/b/bba009fc28154f344afd8e0b1437fc0a8342218d.jpeg)  
Nothing happens

> [@Stephen](#):
>
> netstat -tulpn | grep 6379

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [10월 3, 2022, 4:35오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/12 "2022-10-03T16:35:40Z")

</div>



---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [10월 3, 2022, 4:42오후 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146/13 "2022-10-03T16:42:09Z")

</div>


