# Html5 address problem

**URL:** <https://forums.unrealengine.com/t/html5-address-problem/371060>\
**Category:** Platform & Builds\
**Tags:** HTML5, unreal-engine, http, question\
**Created:** [September 20, 2016, 12:19pm UTC](https://forums.unrealengine.com/t/html5-address-problem/371060 "2016-09-20T12:19:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjwang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kjwang](https://forums.unrealengine.com/u/kjwang)\
**Post date:** [September 20, 2016, 12:19pm UTC](https://forums.unrealengine.com/t/html5-address-problem/371060/1 "2016-09-20T12:19:02Z")

</div>

I launched my game as html5 on windows7, and then started the HTML5LaunchHelper.exe

if I enter [http://localhost:8000/myproject.html](http://localhost:8000/myproject.html) in the address bar of browser, my game will be work well in browser.  
but, if i enter [http://127.0.0.1:8000/myproject.html](http://127.0.0.1:8000/myproject.html) , it will show :

Bad Request - Invalid Hostname  
HTTP Error 400. The request hostname is invalid.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [September 20, 2016, 7:13pm UTC](https://forums.unrealengine.com/t/html5-address-problem/371060/2 "2016-09-20T19:13:59Z")

</div>

Hi ,

Is there a reason you need to use the ip address for local host rather than the string name"localhost" if you are able to play your game in the browser?

In order to help you it will be good to know what your end goal is in this instance.

,

---

<div class="post-metadata">

**Author:** ![kjwang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kjwang](https://forums.unrealengine.com/u/kjwang)\
**Post date:** [September 21, 2016, 1:36am UTC](https://forums.unrealengine.com/t/html5-address-problem/371060/3 "2016-09-21T01:36:33Z")

</div>

thank you!  
My goal is starting the HTML5LaunchHelper.exe of my game on one computer, and playing it on a browser of another computer.  
127.0.0.1 is only a simple testing for ip address.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [September 21, 2016, 2:17pm UTC](https://forums.unrealengine.com/t/html5-address-problem/371060/4 "2016-09-21T14:17:29Z")

</div>

Hi ,

The HTML5LaunchHelper.exe was intended for testing on your own machine and creates a local host that can only be accessed by the machine launching the helper.

If you want to test networking with other computers you will have to create the network functionality either in code or blueprint and run the project. Here is a link for Online Session Nodes.

[https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/OnlineNodes/](https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/OnlineNodes/)

,

---

<div class="post-metadata">

**Author:** ![user\_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@user\_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb](https://forums.unrealengine.com/u/user_e1e82e24d87d2a97544f9d9e9e9e340e2626be24aabba48baa57eb)\
**Post date:** [June 16, 2022, 5:38am UTC](https://forums.unrealengine.com/t/html5-address-problem/371060/5 "2022-06-16T05:38:47Z")

</div>

did you solve?
