Search code examples
ruby-on-railslocalhostreact-railsreact-on-railsport-number

change localhost port number in a rails application


I just started learning RoR as a backend technology for React. I came across a tutorial that uses 'react-rails' and it chooses the localhost port number to be 3000 for my development environment by default.

Is there any way to change this default port number?


Solution

  • The below mentioned link will help you regarding the port and address while running rails server

    Change my default localhost port in Rails 5.