1. Home
  2. Docs
  3. Unreal Web Server
  4. Advanced
  5. Packaging

Packaging

HTML files path

 

The DocumentRoot path when you start the web server can be either relative of absolute. If this path is absolute, packaging will not change the path. However, if the path is relative, this folder must be located in the content folder of the packaged project.

For instance, if your packaged project has the name TESTPROJECT, the html files folder must be in PackagedProjectPath/TESTPROJECT/Content/ folder.

 

Contact your web server from another device

 

Once developments done, you certainly want to access to your web server from another device (smartphone, tablet, etc…).

First, you need to find your computer (running the UE game) IP address. Then you need to open computer firewall. Finally you can access to your web server using : http://computerIP:UWSPort/

You can get more informations on these websites :

Accessing Websites on a Local Network (LAN) Web Server

How To Access A Local Website (localhost) from Internet with Port Forwarding

Was this article helpful to you? Yes No

How can we help?