Docker and digital ocean - going live

Hi Wapplers,

I have followed the the instructions on how to setup a remote docker machine on digital ocean, which I have done successfully. I deployed to the live target as well. When I visit the IP address being http://157.230.43.7 it says

This site can’t be reached

157.230.43.7 refused to connect

Any idea what could be going wrong?

My droplet is showing up and all looks good on digital ocean end…

Well we need more info about your project and deploy.

  • what type of project, what server model and database
  • how did you deploy, was it all successful
  • any logs in the web server, is it all running well? check the web server and database logs in the publishing panel below.
  • is it all green in the publishing panel when the remote target selected?

Thanks for your prompt response George.

-NodeJS / Docker / PostgreSQL
-The extension to my index file is .html as I was using a template
-Deploy was successful and is green
-web server logs says the following:

[nodemon] 2.0.20
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): app//* lib//* views//* extensions//* tmp/**/restart.txt
[nodemon] watching extensions: ejs,js,json
[nodemon] starting node ./index.js
server-connect:setup:config {
server-connect:setup:config port: ‘3000’,
server-connect:setup:config debug: true,
server-connect:setup:config secret: ‘7JRCWc4X8Je7LVZ’,
server-connect:setup:config tmpFolder: ‘/opt/node_app/tmp’,
server-connect:setup:config abortOnDisconnect: false,
server-connect:setup:config createApiRoutes: true,
server-connect:setup:config compression: true,
server-connect:setup:config redis: false,
server-connect:setup:config cron: true,
server-connect:setup:config static: { index: false },
server-connect:setup:config session: {
server-connect:setup:config name: ‘efunderplatformv1.sid’,
server-connect:setup:config resave: false,
server-connect:setup:config saveUninitialized: false,
server-connect:setup:config store: { ‘$type’: ‘memory’, ttl: 86400000 }
server-connect:setup:config },
server-connect:setup:config cors: {
server-connect:setup:config origin: false,
server-connect:setup:config methods: ‘GET,POST’,
server-connect:setup:config allowedHeaders: ‘*’,
server-connect:setup:config credentials: true
server-connect:setup:config },
server-connect:setup:config globals: {},
server-connect:setup:config mail: {},
server-connect:setup:config auth: {},
server-connect:setup:config oauth: {},
server-connect:setup:config db: {},
server-connect:setup:config s3: {},
server-connect:setup:config jwt: {},
server-connect:setup:config stripe: {},
server-connect:setup:config env: {}
server-connect:setup:config } +0ms
server-connect:setup:session init session store { ‘$type’: ‘memory’, ttl: 86400000 } +0ms
server-connect:setup:upload Upload middleware configured. +0ms
server-connect:setup:routes Api route /api/demo(.json)? created +0ms
App listening at http://localhost:3000

It’s also worth noting:

  1. Works fine on local server
  2. When I set the target to “llve” and I click on the “Open in Browser button” it opens up the page locally … i.e. http://localhost:8100/index.html

What do you have for the web server URL in the target settings for the live target?

aah okay so that fixed that issue. Thanks for that. Bigger problem still remains

This site can’t be reached

157.230.43.7 refused to connect.

I changed projects to launch another one live to see if this problem was project specific. This other project presented a new issue, I created a docker machine like usual and the droplet shows up on digital ocean. however, I cant change the Docker deploy name.

If I try click save it gives me the following error:

TypeError: Cannot read properties of undefined (reading ‘type’) at refreshSchemaForNode (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/databaseManager.js:8:163308) at refreshDatabaseSchema (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/databaseManager.js:8:161210) at p.saveDatabaseConnectionForTarget (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/w2targets.js:8:148723) at file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/w2targets.js:8:140400 at Array.map () at p.getTargets (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/w2targets.js:8:119151) at Object.save (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/project_options_web.js:8:7840) at HTMLButtonElement. (file:///Applications/Wappler.app/Contents/Resources/app/Shared/DMXzone/dmxAppCreator/UI/project_options.js:8:1520) at HTMLButtonElement.dispatch (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:5430:27) at HTMLButtonElement.elemData.handle (/Applications/Wappler.app/Contents/Resources/app/node_modules/jquery/dist/jquery.js:5234:28) at HTMLButtonElement.sentryWrapped (/Applications/Wappler.app/Contents/Resources/app/node_modules/@sentry/browser/dist/helpers.js:75:23)