# Specifying port for embeddable host given an IP results in error

**URL:** <https://meta.discourse.org/t/specifying-port-for-embeddable-host-given-an-ip-results-in-error/59209>\
**Category:** Bug\
**Created:** [3월 15, 2017, 8:41오후 UTC](https://meta.discourse.org/t/specifying-port-for-embeddable-host-given-an-ip-results-in-error/59209 "2017-03-15T20:41:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kennym](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kennym/32/115557_2.png) [@kennym](https://meta.discourse.org/u/kennym)\
**Post date:** [3월 15, 2017, 8:41오후 UTC](https://meta.discourse.org/t/specifying-port-for-embeddable-host-given-an-ip-results-in-error/59209/1 "2017-03-15T20:41:32Z")

</div>

When I try to add an embeddable host with the host: `http://192.168.1.167:3000` then it tells me that the host is invalid.

If I remove the port number, as so: `http://192.168.1.167`, then everything works.

Here’s a video of the issue in detail:

[https://gfycat.com/GrotesquePleasantImpala](https://gfycat.com/GrotesquePleasantImpala)

I’m currently working on [Add scope for human users. · discourse/discourse@4d4a1a1 · GitHub](https://github.com/discourse/discourse/commit/4d4a1a1552444ff1d6cb47d019950ad01e72547f) on Mac with Vagrant.

---

<div class="post-metadata">

**Author:** ![kennym](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kennym/32/115557_2.png) [@kennym](https://meta.discourse.org/u/kennym)\
**Post date:** [3월 15, 2017, 9:20오후 UTC](https://meta.discourse.org/t/specifying-port-for-embeddable-host-given-an-ip-results-in-error/59209/2 "2017-03-15T21:20:11Z")

</div>

PR: [FIX: Allow ports for embed host IPs by kennym · Pull Request #4759 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/4759)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [3월 15, 2017, 9:21오후 UTC](https://meta.discourse.org/t/specifying-port-for-embeddable-host-given-an-ip-results-in-error/59209/3 "2017-03-15T21:21:34Z")

</div>

Does this seem OK to you @eviltrout? Any security risk here?

---

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [3월 16, 2017, 3:23오후 UTC](https://meta.discourse.org/t/specifying-port-for-embeddable-host-given-an-ip-results-in-error/59209/4 "2017-03-16T15:23:53Z")

</div>

Looks great, merged!

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [3월 16, 2017, 6:12오후 UTC](https://meta.discourse.org/t/specifying-port-for-embeddable-host-given-an-ip-results-in-error/59209/5 "2017-03-16T18:12:41Z")

</div>


