# Invalid origin error

**URL:** <https://discourse.joplinapp.org/t/invalid-origin-error/42882>\
**Category:** Support\
**Created:** [4 January 2025 16:09 UTC](https://discourse.joplinapp.org/t/invalid-origin-error/42882 "2025-01-04T16:09:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nightmare10032](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/nightmare10032/32/23903_2.png) [@nightmare10032](https://discourse.joplinapp.org/u/nightmare10032)\
**Post date:** [4 January 2025 16:09 UTC](https://discourse.joplinapp.org/t/invalid-origin-error/42882/1 "2025-01-04T16:09:37Z")

</div>

### Operating system

Linux

### Joplin version

3.0.1

### What issue do you have?

Hello!  
I installed Joplin Server on the NAS and started it normally.  
APP\_BASE\_URL [http://192.168.xx.xx:22300](http://192.168.xx.xx:22300) This is a LAN IP, I can open it normally on the LAN  
But I need to access it on the public network and used internal network penetration software to obtain a public IP address——27.190.xx.xx, similar to port mapping, which maps the public IP address and port to the 22300 port of the 192.168.xx.xx. However, I encountered an error when accessing this address in my browser.

Invalid origin: [http://27.190.xx.xx:7789](http://27.190.xx.xx:7789)

Do I need to write an additional APP-BASE-URL?

---

<div class="post-metadata">

**Author:** ![nightmare10032](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/nightmare10032/32/23903_2.png) [@nightmare10032](https://discourse.joplinapp.org/u/nightmare10032)\
**Post date:** [8 January 2025 01:29 UTC](https://discourse.joplinapp.org/t/invalid-origin-error/42882/2 "2025-01-08T01:29:57Z")

</div>

？？？  
how

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [7 February 2025 01:30 UTC](https://discourse.joplinapp.org/t/invalid-origin-error/42882/3 "2025-02-07T01:30:13Z")

</div>

Closed on 7 February 2025 01:30 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
