# Can't use on localhost subdomain

**URL:** <https://pdfjs.community/t/cant-use-on-localhost-subdomain/3356>\
**Category:** Technical Support\
**Created:** [July 22, 2024, 8:29am UTC](https://pdfjs.community/t/cant-use-on-localhost-subdomain/3356 "2024-07-22T08:29:41Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [July 30, 2024, 5:49pm UTC](https://pdfjs.community/t/cant-use-on-localhost-subdomain/3356/11 "2024-07-30T17:49:37Z")

</div>

Hi there,

Have you tried using 127.0.0.1 as an alternative to localhost being the domain?

In addition, the request to [https://pi.pdfjs.express/events](https://pi.pdfjs.express/events) is gathering tele-metrics, and isn’t used to check the license key.

If the PDF isn’t loading after making the correct request to the auth server, there may be something wrong with the PDF. Are you able to load this in the demo?

> **[PDF.js Viewer Demo | PDF.js Express](https://pdfjs.express/demo)**
>
> Try the PDF.js Express Viewer demo: 26 out-of-the-box annotations, PDF form filling, e-signatures, UI customization, light/dark themes & more.

Is there any console error messages and any failed network requests?

In addition, there may be some errors in how your keys are setup, please see this forum post for more information:

> [@Express Viewer License Still Shows Watermarks](https://pdfjs.community/t/express-viewer-license-still-shows-watermarks/3207):
>
> Which product are you using? PDF.js Express Viewer PDF.js Express Version 8.7.4 Detailed description of issue I upgraded our version of Express Viewer to 8.7.4 and although I have a license key for the domain [trailblazertech.com](http://trailblazertech.com) it is still showing the watermarks on the website path [https://acme.uat.app.trailblazertech.com](https://acme.uat.app.trailblazertech.com) which should match the license domain. Screenshot of viewer with watermarks Console logging info… Expected behaviour I would not expect to see th…

---

_[View the full topic](https://pdfjs.community/t/cant-use-on-localhost-subdomain/3356)._
