The shoryuken gem is a background worker for rails applications that reads from aws SQS.
I can run the shoryuken worker in my local and it's working fine. When I run it in production environment in AWS it does not work. How do you run shoryuken in production environment? I'm also thinking that this might be an issue with my aws security groups. We are using VPC. Should I allow the SQS port? If so, what port is SQS running in? I also wonder why it's asking about port 5432 which is the port of our Postgres DB.
bundle exec shoryuken -r path_to_my_worker.rb -C config/shoryuken.yml --rails RAILS_ENV=production
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?