# Incorrect IpV4?

**URL:** https://meta.discourse.org/t/incorrect-ipv4/152323
**Category:** Self-hosting
**Created:** [May 22, 2020, 12:23pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323 "2020-05-22T12:23:27Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 12:23pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/1 "2020-05-22T12:23:27Z")

</div>

Hey! I’m trying to setup my forum in WSL2, and when I put in my forum’s url it says this:

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/0/50a9c3aa99d67f120c16a85eb27bb321eb11f31c.png)  
I don’t know why this is happening, I got my IP in the terminal, set it in my DNS here:  
 ![image](https://global.discourse-cdn.com/meta/original/3X/a/6/a6fd9e9ea4a48abd1792f95468f2312db6015f4c.png)

---

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [May 22, 2020, 12:35pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/2 "2020-05-22T12:35:14Z")

</div>

Disable the Cloudflare proxy may make it work when install.

---

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 12:38pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/3 "2020-05-22T12:38:47Z")

</div>

I unproxied the whole thing but still the same errors.

---

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [May 22, 2020, 12:49pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/4 "2020-05-22T12:49:52Z")

</div>

My bad. Now i notice that your using the WSL2 to install Discourse, before that please make sure your WSL2 exported service can access from internet.

For example, run `python3 -m http.server 8080` or other services, can you access it from your internet address?

Additionaly, WSL2 seems not well on [Privileged Ports](https://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html) with Windows host.

---

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 12:54pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/5 "2020-05-22T12:54:52Z")

</div>

I just put that exactly into terminal, and its saying ‘Serving HTTP on 0.0.0.0 port 8080 ([http://0.0.0.0:8080/](http://0.0.0.0:8080/)) …’  
and it has been for 5 minutes now.

---

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [May 22, 2020, 1:01pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/6 "2020-05-22T13:01:45Z")

</div>

Open your browser enter [http://your-internet-ip:8080](http://your-internet-ip:8080), could you access any content?

---

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [May 22, 2020, 1:09pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/8 "2020-05-22T13:09:41Z")

</div>

It may the firewall block yout connection, i can’t help.

---

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 1:10pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/9 "2020-05-22T13:10:17Z")

</div>

Do you know how I can disable the firewall?

---

<div class="post-metadata">

### Author: ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)
#### Post date: [May 22, 2020, 1:17pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/10 "2020-05-22T13:17:51Z")

</div>

Wait, the ip `169.254.*.*` is an Automatic **Private IP address** right? You pick an wrong address.

---

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 1:18pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/11 "2020-05-22T13:18:46Z")

</div>

What IP adress am I looking for? There was one next to it, and loads below.

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 22, 2020, 1:19pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/12 "2020-05-22T13:19:20Z")

</div>

What are you trying to do anyway? hosting discourse on your own system or Just want to set up a testing instance?

---

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 1:20pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/13 "2020-05-22T13:20:12Z")

</div>

I’m trying to self host using cloudflare and sendgrid

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 22, 2020, 1:22pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/14 "2020-05-22T13:22:03Z")

</div>

That’s a nada if you’re trying to host your discourse in WSL it won’t work. Here are the reasons why:

1. Your PC can’t be running 24x7
2. You probably won’t have a public static IP address
3. Firewall issues with your ISP that would block various ports
4. Internet goes down = Site goes down.

I suggest get a cheap VPS from DigitalOcean or Hetzner and set it up there.

---

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 1:23pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/15 "2020-05-22T13:23:15Z")

</div>

Should I use something like Putty?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 22, 2020, 1:23pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/16 "2020-05-22T13:23:45Z")

</div>

You need a server before anything else. Do you have a server?

---

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 1:24pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/17 "2020-05-22T13:24:30Z")

</div>

No. Do you mean like a digital oceon type?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 22, 2020, 1:25pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/18 "2020-05-22T13:25:05Z")

</div>

Yes, I mean DigitalOcean type Server. You just can not host a public facing application on your Home PC without a boatload of problems.

---

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 1:26pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/19 "2020-05-22T13:26:26Z")

</div>

Okay. Is there any reliable server applications/ hosts?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [May 22, 2020, 1:27pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/20 "2020-05-22T13:27:06Z")

</div>

DigitalOcean is very reliable. If You’re cost conscious, You can consider Hetzner.

---

<div class="post-metadata">

### Author: ![archie123](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@archie123](https://meta.discourse.org/u/archie123)
#### Post date: [May 22, 2020, 2:26pm UTC](https://meta.discourse.org/t/incorrect-ipv4/152323/21 "2020-05-22T14:26:48Z")

</div>

Would heroku work? The free edition that I’m planning on using has 512 mega bytes of ram.

[Next page](https://meta.discourse.org/t/incorrect-ipv4/152323.md?page=2)
