1. Vijay Kumar
  2. PowerServer
  3. Sunday, 31 December 2023 03:06 AM UTC

Hi Team,

 

Please be informed that,I am able to make dot.net server up , but i could not able to access my web api , i configured same thing launchsettings.json and program.cs files , but i could'nt able to access my web api applicaiton path like (http://ip:port:/myappname).

 

Please help on this.

 

Vj.

Accepted Answer
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 9 January 2024 03:39 AM UTC
  2. PowerServer
  3. # Permalink
Did you follow these instructions carefully to configure the Web APIs and start them before you try to run your app: https://docs.appeon.com/ps2022r2/Running_Web_APIs_with_Kestrel.html It's important to note that if you don't specify the "--urls" argument, PowerServer Web APIs and Kestrel will by default run on http://localhost and therefore you will fail to access it remotely.
Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Sunday, 31 December 2023 03:25 AM UTC
  2. PowerServer
  3. # 1

Hi Vijay;

  When you post questions, please always tell us ..

  • PB version & build
  • PS version & build
  • OS version
  • PS project settings

Regards ... Chris 

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Monday, 1 January 2024 21:54 PM UTC
  2. PowerServer
  3. # 2

In general, specified port numbers are after the server name in the URL. For example:

http://example.com:80/path

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 3 January 2024 17:46 PM UTC
  2. PowerServer
  3. # 3

What version of PB are you using?  Are you able to get it to run on your local machine using localhost as the URL?

Comment
  1. Vijay Kumar
  2. Thursday, 4 January 2024 08:09 AM UTC
Hi ,

I am using pb 2022 R2 and powerserver version 2022 R2, i am able to run on my local machine.I am using folder method to deploy the power server application & ubunut 22.04 is the OS.
  1. Helpful
  1. Vijay Kumar
  2. Tuesday, 9 January 2024 03:39 AM UTC
Hi Armeen,



Thank you for your reply, Please be informed that , i am following folder method to deploy my application. I am copying entire API folder files, cloud app launcher files & project files to my ubuntu web folder. After that i am able to making up the application by using serverapis.dll file, Even i am able to access the health ui end point, But i am unable to access the url when place the application file in the url in browser like (http://domainname.com/applicationfile).



Could you please help me on this.



Regards,

Vijay.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 9 January 2024 04:08 AM UTC
You need to deploy the client app to a separate Web server.
  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 9 January 2024 03:39 AM UTC
  2. PowerServer
  3. # 4
Did you follow these instructions carefully to configure the Web APIs and start them before you try to run your app: https://docs.appeon.com/ps2022r2/Running_Web_APIs_with_Kestrel.html It's important to note that if you don't specify the "--urls" argument, PowerServer Web APIs and Kestrel will by default run on http://localhost and therefore you will fail to access it remotely.
Comment
There are no comments made yet.
Vijay Kumar Accepted Answer Pending Moderation
  1. Tuesday, 9 January 2024 03:52 AM UTC
  2. PowerServer
  3. # 5

Hi Chris ,

Thanks for your reply,

 

I am using following versions.

 

PB version : 2022 R2 and Build : 2828

PS Version : 2022 R2

OS Version : Ubuntu 22.04.3 LTS

 

 

PS Project Settings : 

TargetRun Mode : External (IIS or Folder)

TargetServer : Folder 

Package the application file : Zipped file

Frame work Mode : Self-Contained

Target Runtime : Linux 64 Bit

Cloud App launcher : Default

Build --> Basic Tab --> Rebuild : Full

Client app : Platform : x64

 

Please be informed that i am able to making up my powerserver, however i am unable to access the application.Please help me in this regard, if any further information if required please let me know.

 

Regards,

Vijay.

 

 

 

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.