ssh to ip of instance Elasticbeanstalk. For my case, with nginx, we change file /nginx/conf.d/elasticbeanstalk/00_application.conf proxy_pass http://127.0.0.1:8080;
we change to
proxy_pass http://127.0.0.1:3000; it sucessful when access elasticbean public address.