# Stuck To access application

**URL:** <https://forum.pritunl.com/t/stuck-to-access-application/2201>\
**Category:** Pritunl\
**Tags:** pritunl\
**Created:** [July 13, 2024, 7:24am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201 "2024-07-13T07:24:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aakashjain](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@Aakashjain](https://forum.pritunl.com/u/Aakashjain)\
**Post date:** [July 13, 2024, 7:24am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201/1 "2024-07-13T07:24:48Z")

</div>

I successfully set up VPN Where i can easily connect with it.  
Now i am facing some issues.

1. I don’t want to allow user to access internet through my VPN User can access their own internet. Also when user my “Whats My IP” it should display there own public ip not my server IP.
2. I have one system which public ip is 103.167.X.X and local ip is 192.168.1.220 where and port no 10001 is open Now when user connect to my VPN and install the software and search for the license then it should find the license on my public ip that is 103.167.X.X and port is 10001.
3. VPN Server in on AWS.

Can any one Guide me how i can do this.

---

<div class="post-metadata">

**Author:** ![Mikki](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@Mikki](https://forum.pritunl.com/u/Mikki)\
**Post date:** [July 15, 2024, 6:26am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201/2 "2024-07-15T06:26:42Z")

</div>

Not totally sure what you want but i think you will have to look at the routing:

So change the default route: `0.0.0.0/0` to the things you need routed you can try to enable `Restrict Routing` under the advanced settings of the vpn server that should only route the things you need.

> **[Routes](https://docs.pritunl.com/docs/routing)**
>
> Server routes configuration

---

<div class="post-metadata">

**Author:** ![Aakashjain](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@Aakashjain](https://forum.pritunl.com/u/Aakashjain)\
**Post date:** [July 15, 2024, 6:35am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201/3 "2024-07-15T06:35:26Z")

</div>

I created 5 users where 4 users are connecting successfully but only one user is not able to connect.  
Getting this error ` read UDPv6 [NO-INFO]: Connection refused (code=111)`  
can you please provide me some solution for this

---

<div class="post-metadata">

**Author:** ![Mikki](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@Mikki](https://forum.pritunl.com/u/Mikki)\
**Post date:** [July 15, 2024, 6:51am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201/4 "2024-07-15T06:51:59Z")

</div>

First do you use IPv6? If not, make sure that it is not enabled (Uncheck “Enable IPv6”)

Else if you use IPv6 i’m not sure how to fix the error i had the same error a some point:

> [@Read UDPv4 \[ECONNREFUSED\]: Connection refused (code=111)](https://forum.pritunl.com/t/read-udpv4-econnrefused-connection-refused-code-111/1235/4):
>
> Hi i have the same problem but for UDPv6 on Ubuntu 22.04, but it only seems to be for some users and only for my VPN node1 not VPN node2? So: User\_A → Node1 (Normally not working) User\_A → Node2 (Normally working) User\_B → Node1 (Normally working) User\_B → Node2 (Normally working) Server version: v1.32.3805.95 Client version: v1.3.3883.60 Sample log: [Node1] 2024-06-20 06:37:00 \<user\_id\>/\<user\_ipv4\>:63904 MULTI\_sva: pool returned IPv4=198.18.12.2, IPv6=fd00:c612:c00::1000 [Node1] 2024-06-…

But i’m unsure if i still have the issue.  
So try and look under the “Host” tap then click on your server, under “Public Address” and “Public IPv6 Address” use your FQDN for the server (Not ip-adresses) also set “Local Address” and “Local IPv6 Address” (Here use IP-addresses)

---

<div class="post-metadata">

**Author:** ![Aakashjain](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@Aakashjain](https://forum.pritunl.com/u/Aakashjain)\
**Post date:** [July 15, 2024, 7:29am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201/5 "2024-07-15T07:29:34Z")

</div>

That user 5 is using another system is working fine.  
only on a particular system is not connected.  
Is there any issue with Internal system ?

---

<div class="post-metadata">

**Author:** ![Mikki](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@Mikki](https://forum.pritunl.com/u/Mikki)\
**Post date:** [July 15, 2024, 7:37am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201/6 "2024-07-15T07:37:46Z")

</div>

Do you have the log from the server where you can see the problematic user connecting and also a client log. (Remember to anonymize the log a bit (eg remove IP’s) )

---

<div class="post-metadata">

**Author:** ![Aakashjain](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@Aakashjain](https://forum.pritunl.com/u/Aakashjain)\
**Post date:** [July 15, 2024, 8:52am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201/7 "2024-07-15T08:52:59Z")

</div>

From the server log getting this message when user try to connect  
Getting this error `read UDPv6 [NO-INFO]: Connection refused (code=111)`

---

<div class="post-metadata">

**Author:** ![Mikki](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@Mikki](https://forum.pritunl.com/u/Mikki)\
**Post date:** [July 15, 2024, 9:09am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201/8 "2024-07-15T09:09:22Z")

</div>

Events before and after can give clues to why you get the error.

---

<div class="post-metadata">

**Author:** ![Aakashjain](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@Aakashjain](https://forum.pritunl.com/u/Aakashjain)\
**Post date:** [July 15, 2024, 9:11am UTC](https://forum.pritunl.com/t/stuck-to-access-application/2201/9 "2024-07-15T09:11:31Z")

</div>

Okay I will check and let you know.  
Thank you for your Help. I really appreciate your help.  
Thank you so much
