# Hyperlink with port number not working

**URL:** https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215
**Category:** Support
**Created:** [February 27, 2019, 7:40am UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215 "2019-02-27T07:40:04Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Beluk](https://avatars.discourse-cdn.com/v4/letter/b/6a8cbe/32.png) [@Beluk](https://meta.discourse.org/u/Beluk)
#### Post date: [February 27, 2019, 7:40am UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/1 "2019-02-27T07:40:04Z")

</div>

When i define the hyperlink `http://forum:3000/releases` and click on it it will forward to `http://forum/releases`. How can i change that the port number 3000 is not filtered?

---

<div class="post-metadata">

### Author: ![rishabh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rishabh/32/179446_2.png) [@rishabh](https://meta.discourse.org/u/rishabh)
#### Post date: [February 27, 2019, 8:16am UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/2 "2019-02-27T08:16:21Z")

</div>

You should try doing this:

```plaintext
rails console
SiteSetting.port = 3000
exit

```

---

<div class="post-metadata">

### Author: ![Beluk](https://avatars.discourse-cdn.com/v4/letter/b/6a8cbe/32.png) [@Beluk](https://meta.discourse.org/u/Beluk)
#### Post date: [February 27, 2019, 8:32am UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/3 "2019-02-27T08:32:10Z")

</div>

I think i missed to mention: The forum is running well on normal port. I don’t want to change it.  
I run a different webserver on same machine with port 3000 to store binaries. It is just the link which is not forwarding…

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 27, 2019, 12:53pm UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/4 "2019-02-27T12:53:38Z")

</div>

It’s not the answer you want, but I’d set up a reverse proxy and give the other server another host name. Actually, you might just add a CNAME releases. That might fix it.

---

<div class="post-metadata">

### Author: ![Beluk](https://avatars.discourse-cdn.com/v4/letter/b/6a8cbe/32.png) [@Beluk](https://meta.discourse.org/u/Beluk)
#### Post date: [February 27, 2019, 5:09pm UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/5 "2019-02-27T17:09:33Z")

</div>

Thank for sharing your solution. This would be a great workaround, unfortunately i’m not the network administrator.

---

<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: [February 27, 2019, 5:22pm UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/6 "2019-02-27T17:22:38Z")

</div>

Can you give us more information on how you’ve got this set up? Is there a reverse proxy in front of Discourse?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 27, 2019, 8:37pm UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/7 "2019-02-27T20:37:38Z")

</div>

You could point any domain name that you have control ov to the server without the network administrator. Failing that, you could implore the network administrator to get their job.

Good luck with that.

---

<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: [April 3, 2022, 1:59am UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/8 "2022-04-03T01:59:41Z")

</div>



---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 3, 2022, 8:51am UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/9 "2022-04-03T08:51:28Z")

</div>



---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 3, 2022, 8:53am UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/10 "2022-04-03T08:53:18Z")

</div>

> [@Beluk](#):
>
> The forum is running well on normal port. I don’t want to change it.  
> I run a different webserver on same machine with port 3000 to store binaries

Discourse requires ports 80 and 443. Non standard ports are not supported.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 18, 2022, 12:00pm UTC](https://meta.discourse.org/t/hyperlink-with-port-number-not-working/110215/11 "2022-04-18T12:00:29Z")

</div>

This topic was automatically opened after 15 days.
