Skip to main content Skip to footer

Understanding “localhost” Deployment Versus Hostname Deployment

If you're using a Single Hostname Deployment license and wondering whether you can test your app on localhost first, the answer is absolutely yes. You can run your application locally without needing a license. SpreadJS does not perform license validation in local environments, making localhost an ideal setup for development and testing. 

Once you're finished testing and ready to deploy, that’s when you’ll need to apply a valid license. If possible, we recommend completing your testing locally first and only registering your production hostname when you're ready to go live. 

If you also maintain a live, non-production development environment, you can request a non-production license for testing instead. These licenses are included with an active SpreadJS subscription. The number of hostnames or server addresses you can assign to a non-production license depends on the active licenses you hold, as outlined on our pricing page (See: Non-Production Licenses for Testing/Staging Machines). 

One important note: Once a hostname is registered, it's not designed to be changed. Be sure to register the final hostname you intend to use in production. If you do need to change it later, you'll need to submit a request here. 

Kristina Ismail

Technical Engagement Engineer