Cordova Windows Application - Connectivity Issue

Mobile Apps 1 Reputation point

We are creating a Cordova windows application so the application is in "RemoteMode". The application does not connect with app server if VPN is ON mode.

As discussed with MSFT team, The have asked us to enable "PrivateNetworkClientServer" capability but If we enable this capability , the app may get reject by store based on their policy.

We would like to know other ways to access the app server using VPN.

It would be helpful, If you share the details.

Universal Windows Platform (UWP)
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,266 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Sunny Qi 10,896 Reputation points Microsoft Vendor

    Hi @Mobile Apps ,

    Thanks for posting in Q&A platform.

    May I know if the VPN client is a Windows built-in VPN client or a 3rd party VPN client?

    It seems that the issue is more related to Cordova, please kindly note that since we are not familiar with Cordova, I would suggest you could contact Cordova support or Microsoft Store support for further help:

    Best Regards,


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Mobile Apps 1 Reputation point

    We are using 3rd party VPN client.

    But the application connects perfectly if the server has hosted in public mode.
    Otherwise If Enable the capability "PrivateNetworkClientServer", The application connects local server perfectly.

    The problem, If the VPN is on to connect the local server, The application did not connect.. Most of the our customer uses the local server and connect using VPN. They are expecting the same way to work this application also.

    Is there limitation in Cordova Windows application?
    Share any other possibilities to handle this?

    0 comments No comments

  3. lookout771 1 Reputation point


    Kindly share If have any update on this @Sunny Qi .

    We are also facing the the same issue seems it is not a cordova issue. The windows store policy rejects if we enable the PrivateNetworkCapability in UWP-Cordova application.

    Is there any other possibilities?

    is the limitation of the UWP Cordova application. Kindly clarify it

    0 comments No comments