Enable access outside .exe

inkeliz

New member
Hi,

How I can set the ExeOutput to use the LAN IP?

With it:
getHostByName(getHostName());

I can get the LAN IP.
But I can connect with it.

To compare:
With XAMPP (example) I can connect to the LAN IP (192.168.X.XXX) without any problem.

I want to know if is possible create a webserver using the LAN IP.
That is:
  • index.php
In ExeOutput I can access and using the http://192.168.x.xxx (or 192.168.X.XXX:9999) can acess the index.php too.

This will allow another device (smartphone) and another PC access to the same EXE file, without download it.
Is possible create this webserver?
 
Last edited:
ExeOutput doesn’t use a real webserver to serve files to the rendering engine. So you can’t directly connect to compiled PHP files.
However, it’s possible to build your own server application thanks to the PHP socket extension.
 
Back
Top