Question

How To Access App From Droplet

  • I set up app on app platform
  • I disabled the Public HTTP Port 8080
  • I added an internal port (3044)
  • I deployed

How do I use it from a droplet?

The docs say:

By default, other components in an app can communicate with service components over the app’s LAN using the service’s name as a URL. For example, if your app contains a service named web, other components can reach the web component at http://web.

I don’t know if a droplets count as “other components in an app”, but I tried a curl request from my droplet using the app name (with and without port) and it does not work.


Submit an answer


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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
October 20, 2024

Hey @skeddtemp!

Droplets are not considered components in the App Platform. The internal LAN communication mentioned in the docs only applies to services within the same App Platform app, not external resources like Droplets.

For more information about components you can take a look at this documentation page here:

https://docs.digitalocean.com/products/app-platform/how-to/manage-components/

Since you’ve disabled the public HTTP port and set up an internal port (3044), your app isn’t accessible externally outside the App Platform itself.

If you need to be able to access your App deployed on the App Platform. you’ll need to expose a public port so your Droplet can reach the app. Once it’s exposed, you should be able to use the app’s public URL to access it via a curl request from your Droplet.

Let me know if this helps or if you need any further clarification! 👍

- Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.