[RUBY] What to do when Address already in use is displayed after executing rails s

Record this error while creating the app

What you want to solve

When you do rails s

Address already in use - bind(2) for "127.0.0.1" port 3000 (Errno::EADDRINUSE)

Is displayed in the terminal and rails s cannot be executed

Solution

Check if rails s is already running in another terminal etc.

If you can't see rails s running

Terminal


% ps ax | grep rails

The process number that came out

Terminal


% kill -9 process number

It can be solved by stopping the process with.

Recommended Posts

What to do when Address already in use is displayed after executing rails s
After all, what is [rails db: migrate] doing?
What to do when Address already in use is displayed after executing rails s
What to do when "npm ERR! Code ENOSELF" is displayed after npm install
After installing'devise''bootstrap' of gemfile with rails, what to do when url is an error
What to do when "Fail to load the JNI shared library" is displayed in Eclipse
[Rails] What to do when the view collapses when a message is displayed with the errors method
[Rails] What to do if data is not registered in DB
What to do if Cloud9 is full in the Rails tutorial
[Rails] What to do when rails s does not respond or does not stop
[Programming beginner] What to do when rails s becomes an error in the local development environment
What to do when Blocked Host: "host name" appears in Ruby on Rails
What to do if tomcat process remains when tomcat is stopped in eclipse
What do you use when converting to String?
What to do when IllegalStateException occurs in PlayFramework
What to do if Operation not permitted is displayed when you execute a command in the terminal
What to do when rails db: seed does not reflect in the database
Androd: What to do about "The Realm is already in a write transaction in"
What to do if ffi installation fails when launching an application in Rails
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do about "A server is already running ..." that happened without turning off the rails server in the terminal
ParseException: What to do when Unparseable date is reached
What to do when Method not found in f: ajax
What to do when you launch an application with rails
What to do if FacesMessage is set but not displayed
What to do if you can't use the rails command
What to do when Git Repository cannot be displayed in Team Explorer for Eclipse in Azure
[Rails Tutorial Chapter 2] What to do when you make a mistake in the column name
What to do when Rails on Docker does not reflect controller changes in the browser
[Rails 6] What to do when a missing a template error occurs after introducing haml [Super easy]
What to do when the changes in the Servlet are not reflected
What to do if you get a "Mysql2 :: Error: Operand should contain 1 column (s)" error in Rails
[Note] What to do if bundle install in Chapter 3 of the rails tutorial is not possible
Remedy for "A server is already running." Error when running rails s
[Rails] How to avoid "Use hash rockets syntax" when executing Rubocop
What to do when you want to know the source position where the method is defined in binding.pry
What to do after Vagrant install
Address already in use workaround (Windows)
What to do if the app is not created with the latest Rails version installed when rails new
What to do when javax.batch.operations.JobStartException occurs
[Cloud9] Address already in use [Solution]
How to write the view when Vue is introduced in Rails?
What to do when javax.el.ELException: Not a Valid Method Expression: appears when the JSF screen is displayed
What to do if you get Application with name appName is already registered. When you try to start GlassFish
What to do if the image posted by refile disappears after setting a 404 error page in Rails
What to do if you can't bundle update and bundle install after installing Ruby 3.0.0 in the Rails tutorial
[Rails / Docker] What to do if access is denied by the browser (localhost: 3000) after adding a gem
[IOS] What to do when the image is filled with one color
What to do if the prefix c is not bound in JSP
What to do and how to install when an error occurs in DXRuby 1.4.7
Notes on what to do when EC2 is set up with t2.micro
What to do when "call'Hoge.connection' to establish a connection" appears on rails c
Notes on what to do when a WebView ClassNotFoundException occurs in JavaFX 12
What to do after updating Dockerfile, docker-compose.yml
How to use MySQL in Rails tutorial
[Rails] Enum is easier to use! Enumelize!
What to do when undefined method ʻuser_signed_in?'
How to use credentials.yml.enc introduced in Rails 5.2
[Rails] What to do if you get an error saying "Could not find a JavaScript runtime." When executing the rails s command on Catalina
What to do if Command line is too long appears when building a gradle project in Intellij IDEA
[Rails] I want to reset everything because the data in the local environment is strange! What to do before that
How to redirect to http-> https when SSL is enabled in Rails × Heroku environment