I am a beginner studying with Ruby on Rails 5 Quick Learning Practice Guide.
In Chapter 5, "Let's get started" by rspec on page 205, the test failed and I'm struggling to move on.
There is no problem looking back at the series of codes themselves over and over again.
Local connection seems to be denied.
ubuntu wsl ruby 2.5.1 rails 5.2.1 ? 5.2.2 maybe.
Is there no chromedriver?Chromedriver-helper is installed.
Failed to open TCP connection to 127.0.0.1:9515 (Connection refused-connect(2) for "127.0.0.1" port 9515)
[Direct translation] Attempt to open connection to port 9515 on the same machine (ip address: 127.0.0.1) failed
The message indicates that the process that should be listening on the 9515 port is either not started or failed to start.
Try restarting the machine and starting Ruby on Rails again.
Also, check to see if you receive a message indicating that the process failed to start.
Port 9515 is used by the Chrome Driver, so make sure that the chromedriver is started.
© 2022 OneMinuteCode. All rights reserved.