Run wepapp local on desktop?


is it possible to run a webapp local on a desktop (not on a webserver) like the IDE does.

It seems, that the IDE creates a lokal webserver on debuging - is that also possible in “real time”?

I’ve got a nice webapp, but a customer wants to install it local on its PC.


It’s absolutely possible. Build the app for the preferred OS and then run the executable. Its as simple as you run from the debugger. But for building an app you need to purchase Xojo.


so if I build it and run, yea, the console-app is running. But I can’t connect over the specified IP.

I got it! I had to use “localhost”, instead of “”

It is also possible to share that WE app by opening the port in the firewall. Just be aware that MS limit the number of connections to a workstation (10 I believe) which is not very many users at all in WE, but for a 2-3 user system it’s fine.

You can also run multiple web servers on the same machine by specifying different port numbers. e.g.

running multiple web servers is a good way. So I only have to write a little launcher-app. This app can decide which user uses which port.

But using SQLite could be more difficult…

Not so much:

You could also use command line arguments to set the stand-alone Web app’s ports, so even a batch file could do it.

This is a little old, but if you want to run as a service, you can do so by reading the following:

(Windows Service)

(Linux Daemon ~ Works on Mac also, but the preferred method is launchd on Mac)

If you want to run a launcher application without seeing the console(s), create a new shell class and execute the application from the shell class. To terminate the application use Shell.Close; as the process is attached to the active shell instance. You can also use a timer to check to see if the shell is still running and if not, restart the web application via shell.

There’s many options available. :slight_smile:

By the way, (Lesson of the day) and http://localhost:PortNumber should work the same, as localhost is an alias for

You can also access the application at http://whateveryouwant:PortNumber by modifying the hosts file located at:

C:\Windows\System32\drivers\etc\hosts (you will need to enable “view hidden files and folders” to view this file)

This is the file that most adware/ad blockers use by simply setting the bad domains to, and not allowing the domain names to actually direct to their correct DNS entries :slight_smile:

For instance my hosts file contains thousands of lines such as:

of known malware sites, so that they can never be access from my PC :slight_smile: In the same token I could access a local web application by pointing to any one of the domains contained within, since they will only direct back to localhost/ ~MacOS and Linux have a hosts file as well~ :slight_smile: