By riccardone
I’ve been able to deploy a C# .net 5 WebApi using Docker on App platform. At the end of the deployment I get an error but there are no errors in the logs so I think it’s a false alarm as the app shows Healty.
The question is… how can I connect from another app to this WebApi webservices? I understand the App use dynamic Ip but there should be some way and maybe an article describing this Many thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
here is the open source repo with the Dockerfile https://github.com/riccardone/MySelfLog.Api/blob/master/Dockerfile
Once the app has been successfully deployed, the App Platform will display a URL for your application. If App Platform is reporting the build was successful, but the deploy failed that generally means your program either quit immediately or wasn’t reachable on the configured port. The Dockerfile you posted in comments has an EXPOSE directive on port 5001 which App Platform will respect. Verify your application is listening on that port. If that
The Logs tab will display logs for active applications. If your application has failed, try looking at the “Deployments” tab, clicking Details, and scrolling down to deploy logs.
If neither of those provides insight, contact support. They will be able to review your applications and may be able to provide some insight.
In the “Deployments” all attempted deployments had failed. If I look at the details/logs, there are no errors. This is the last deployment log I have
myselflog-api | 22:36:36 2020-12-19 22:36:36.0450| INFO|App start: MySelfLog.Api myselflog-api | 22:36:37 Hosting environment: Production myselflog-api | 22:36:37 Content root path: /app myselflog-api | 22:36:37 Now listening on: http://[::]:80 myselflog-api | 22:36:37 Application started. Press Ctrl+C to shut down.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.