I'm trying to create a dedicated health check route that uses a different port (3001) in Rails 5. my route should just render the text response "Up and running" but use a port different to the default app port while the app runs on the default port as usual.
def healthcheck
render plain: 'Up and running'
end
Thanks for the help!