# Can WebViewer display a localhost web page?

**URL:** <https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827>\
**Category:** Questions about Thunkable X\
**Created:** [March 23, 2021, 3:15am UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827 "2021-03-23T03:15:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![UchihaYueh](https://avatars.discourse-cdn.com/v4/letter/u/2bfe46/32.png) [@UchihaYueh](https://community.thunkable.com/u/UchihaYueh)\
**Post date:** [March 23, 2021, 3:15am UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/1 "2021-03-23T03:15:29Z")

</div>

I’m developing a thunkable app for our office use only. Trying to open a webpage in my localhost displays an error “err\_cleartext\_not\_permitted” and I read in the docs that "the URL must include https:// ".

Does it mean that WebViewer only allows HTTPS? Is there any other way to use HTTP only?

I’m new here in Thunkable. Thanks in advance 🙂

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [March 23, 2021, 6:11am UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/2 "2021-03-23T06:11:03Z")

</div>

> [@UchihaYueh](#):
>
> I read in the docs that "the URL must include https:// ".
> 
> Does it mean that WebViewer only allows HTTPS?

Yes

* * *

> [@UchihaYueh](#):
>
> Trying to open a webpage in my localhost

Where are you serving the page from and where are you trying to view it?

---

<div class="post-metadata">

**Author:** ![UchihaYueh](https://avatars.discourse-cdn.com/v4/letter/u/2bfe46/32.png) [@UchihaYueh](https://community.thunkable.com/u/UchihaYueh)\
**Post date:** [March 23, 2021, 7:48am UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/3 "2021-03-23T07:48:42Z")

</div>

The page is hosted in my laptop and I’m trying to view it in my thunkable app.

---

<div class="post-metadata">

**Author:** ![UchihaYueh](https://avatars.discourse-cdn.com/v4/letter/u/2bfe46/32.png) [@UchihaYueh](https://community.thunkable.com/u/UchihaYueh)\
**Post date:** [March 23, 2021, 7:51am UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/4 "2021-03-23T07:51:49Z")

</div>

Is there a way that I can view my website (hosted in my laptop) in my thunkable app using HTTP only?

Thanks for the reply.

---

<div class="post-metadata">

**Author:** ![codeswept](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/codeswept/32/87755_2.png) [@codeswept](https://community.thunkable.com/u/codeswept)\
**Post date:** [March 23, 2021, 9:30am UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/5 "2021-03-23T09:30:44Z")

</div>

Yes, it is possible.  
**If you have the code file:**

1. Save your code in your laptop. Give it a name.
2. Click on assets at the bottom of your app’s component tree  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/3/635c0eceed5d27d2f30eb815d547a080ae64e784.png)
3. Click ‘choose a file or drag it here’.
4. Attach your saved code file.
5. Add a web-viewer to your app,
6. Set the URL of your web-viewer to the name of your newly-added asset.  
You’re done!

---

<div class="post-metadata">

**Author:** ![UchihaYueh](https://avatars.discourse-cdn.com/v4/letter/u/2bfe46/32.png) [@UchihaYueh](https://community.thunkable.com/u/UchihaYueh)\
**Post date:** [March 23, 2021, 10:44am UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/6 "2021-03-23T10:44:30Z")

</div>

My web app will be hosted in a local area network only, it stores data in a MySQL database. The web app is not accessible in WebViewer. My Thunkable App scans QR Code then saves the data in the database.

I need the WebViewer to accept HTTP URLs. Is there a way to use HTTP or is there any component/object that can be used like WEB component in AppInventor.

Thanks for replying.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [March 23, 2021, 3:03pm UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/7 "2021-03-23T15:03:36Z")

</div>

@UchihaYueh  
If you can reach your web pages using your browser then you can use it in web viewer.

For http you need to see which port your server is channelling the service through and use it in the URL.

---

<div class="post-metadata">

**Author:** ![UchihaYueh](https://avatars.discourse-cdn.com/v4/letter/u/2bfe46/32.png) [@UchihaYueh](https://community.thunkable.com/u/UchihaYueh)\
**Post date:** [March 23, 2021, 4:17pm UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/8 "2021-03-23T16:17:38Z")

</div>

![Screenshot_20210324_001416_com.thunkable.live](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/c/7c794ec3c7a518801beafea73b1e16ea9a0bffe9.jpeg)

I created a simple web browser to display the error message produce by the WebViewer…

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 23, 2021, 6:12pm UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/9 "2021-03-23T18:12:01Z")

</div>

Well, you aren’t using a publicly available IP. So no. If you want to access a file on a computer in your home network, that’s not gonna work.

Your webbrowser is searching the world for that 192.168.0.0 number. It doesn’t exist to the webviewer because it’s not looking at your home network, it’s searching the world wide web.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:25pm UTC](https://community.thunkable.com/t/can-webviewer-display-a-localhost-web-page/1181827/10 "2024-11-08T13:25:46Z")

</div>


