<div dir="ltr"><div><div><div><div>Followed Gabor's tutorial <a href="https://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean">https://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean</a><br><br></div>and got my app running on my digitalocean droplet. However, am only able to view it with <a href="http://my.ip.ad.ress:5000">http://my.ip.ad.ress:5000</a> and not if I leave off the :5000<br><br>cat /home/starman/nginx-demo.conf<br>server {<br>  location / {<br>          proxy_set_header Host $http_host;<br>        proxy_set_header X-Forwarded-Host $http_host;<br>      proxy_set_header X-Real-IP $remote_addr;<br>      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>      proxy_pass <a href="http://localhost:5000">http://localhost:5000</a>;<br>   }<br> <br><br>cat /home/starman/<a href="http://starman.pl">starman.pl</a><br><br>#!/usr/bin/perl<br><br>use warnings;<br>use strict;<br>use Daemon::Control;<br><br>use Cwd qw(abs_path);<br><br>Daemon::Control->new(<br>    {<br>    name      => "Starman",<br>    lsb_start => '$syslog $remote_fs',<br>    lsb_stop  => '$syslog',<br>    lsb_sdesc => 'Starman Short',<br>    lsb_desc  => 'Starman controls the web sites.',<br>    path      => abs_path($0),<br><br>    #program      => 'plackup -E deployment -s Starman',<br>    program      => '/home/starman/perl5/bin/starman',<br>    program_args => [ '--workers', '3', '/home/starman/rushlogistics/bin/app.psgi' ],<br><br>    #plackup -E deployment -s Starman --workers=10 -p 5001 -a bin/app.psgipl<br>    user  => 'starman',<br>    group => 'starman',<br><br>    pid_file    => '/tmp/starman.pid',<br>    stderr_file => '/tmp/starman.err',<br>    stdout_file => '/tmp/starman.out',<br><br>    fork => 2,<br><br>    }<br>    )->run;<br><br></div>tail /tmp/starman.err<br>2018/02/22-02:08:12 Server closing!<br>2018/02/22-02:08:12 Starman::Server (type Net::Server::PreFork) starting! pid(13960)<br>Resolved [*]:5000 to [0.0.0.0]:5000, IPv4<br>Binding to TCP port 5000 on host 0.0.0.0 with IPv4<br>Setting gid to "1002 1002 0"<br></div><br><br>Any idea what I might have missed?<br><br></div>Thanks<br><div><div><div> <br><br><br></div></div></div></div>