gatling icon indicating copy to clipboard operation
gatling copied to clipboard

Port not working on Digital Ocean

Open sosnovsky opened this issue 8 years ago • 3 comments

I deployed my app to Digital Ocean and Gatling selected port 49615 for it. But DO gave error 502 for this configuration, app started working only after I manually changed port to 4001 in init.d and nginx/sites-available configurations. May be there is some bug in detecting ports.

sosnovsky avatar Jan 30 '17 10:01 sosnovsky

@sosnovsky Thanks. your posting above helped me resolve the 502 error I have been trying to fix for hours. Now I see the default "Welcome to nginx!" page when I open the website in the browser. That said, did you have to do anything special to make the front page of your own phoenix app show up, instead of the nginx page?

Thanks.

puruzio avatar Feb 20 '18 06:02 puruzio

@puruzio I moved to deploying with edeliver and distillery, works better for me.

sosnovsky avatar Feb 20 '18 10:02 sosnovsky

@sosnovsky Thanks. I tried edeliver first but unfortunately ran into this issue. https://github.com/edeliver/edeliver/issues/230

puruzio avatar Feb 20 '18 18:02 puruzio