Troubleshooting
#

On this page, you'll find common issues and solutions to resolve them. If you can't find a solution to your problem, please open an issue on GitHub.

If you encounter a problem with Expose Pro, reach out to our support at [email protected]. Do not hesitate to email us if you have a license or billing related question.

"Invalid Host header" or "This host is not allowed"
#

Your dev server only answers requests for hostnames it knows, and the Expose URL is new to it. Add the Expose domain to its allowlist, for example .sharedwithexpose.com in Vite's server.allowedHosts. Invalid Host header: the fix for each framework lists the setting for webpack, Create React App, Vue CLI, Angular, Vite, Next.js, Django and Rails.

Windows wmic command not found
#

On more recent Windows builds, you may encounter the following error while trying to use Expose:

'wmic' is not recognized as an internal or external command, operable program or batch file.

This issue occurs because WMIC has been deprecated and removed from recent Windows 10/11 versions. For more details about WMIC’s removal, refer to Microsoft’s official documentation.

To work around this issue, you can install the wmic command by following these steps described in this Microsoft help article.

We are aware of this circumstance and will release an update to remove the dependency on WMIC for Windows environments as soon as possible.