Cannot connect through network

My compiled application works fine on a local server but produces an error when ported to a client machine.
It says host… is not allowed to connect to mysql database. This happens when you are trying to connect to a remote server machine.

Thanks in advance

It looks like your remote server machine is blocking access to external clients. Make sure your remote server is correctly configured (port, firewall) to access external connections from your compiled PHP applications. Be sure to use HTTPS to transfer data securely.

1 Like

any sample of a topic about using https?

You’ll find one in our General demo that ships with ExeOutput. We show how you can use cURL to download data from HTTPS. Otherwise, just use URLs that begin with https:// in your app and you’ll be fine.

Hello Kato,

Can you share process to get your PHP app accessible through LAN.!


It’s currently not possible, since we are not using a web server to serve data to the Chromium engine. We are going to add this possibility in the future.

How then do some dude go about it?

Maybe they use a WAMP package in addition to ExeOutput?

Curious to know process of using ExeOutput for PHP with wamp/xampp server.

The idea is to initialize the WAMP and start the app EXE after that. Thus, PHP scripts in your EXE can access non-compiled PHP scripts through http://localhost:port/path to PHP script
As explained, we’ll offer the possibility to build server EXE apps and/or integrate a built-in external server to existing GUI apps, so that external apps will be able to exchange with a PHP app through the standard localhost:port

The integration of built-in server would be much appreciated.
Will this feature be available in the next update?
How soon should we expect this feature?


“We are going to add this possibility in the future.”

Is this available now?


Server apps are still under development and we have plans to release them in ExeOutput 2022/2023.

We have multiple systems connected to the local network and exe is installed on each. One of the systems is set as a server and SqlLite is installed with exeoutput. The exe works perfectly with the sqllite in the server system. What I need is to connect all the exe in other systems to the sqlLite in the server.

How can I achieve this?

We do a similar setup in classrooms. EXEOut does not run as a server (yet) so there is no easy way they can talk to each other or even one other running instance.

What we do is setup a Linux server on one computer (in our case a raspberry pi) and use it to serve SQLite and others.

HI if I set up a xampp server with mySQL on one laptop can exe from different laptops connect to this xampp server?

Yes, but there are drawbacks.

In our classroom we do not allow the end user (students) to update the database, only read from it.

In our instance we “push” a new copy of the database out to student when they open their daily study guide webpage. This is done with PHP and a remote copy script.

Sure, ExeOutput creates client apps, so they can of course access remote PCs if you know their IP and opened port.

All the other PC’s are in our internal network so we know the IP address. But the exe output is not connecting to the xampp MySQL server.

One more thing the MySQL DB in xampp do not have any password set. Do exeoutput need a connection with the password?

Also I am using xampp with MariaDB

I created an exe using exeoutput with laravel and a Xampp server running MySQL. exeoutput is trying to connect with the wrong DB, instead of connecting to the DB mentioned in the .env file. Config is cleared and also verifies no DB name is defined in database.php.

Why did exeoutput connect to the wrong DB?