Unable to run protractor config within gulp getting ECONNREFUSED connect ECONNREFUSED 127.0.0.1:4444

99 Views Asked by At

Below is a screenshot of my code, when I run selenium by itself, the scripts run fine. But when I try to start webdriver within gulp (what my goal is) I am getting:

 Error code: 135
[12:48:27] E/launcher - Error message: ECONNREFUSED connect ECONNREFUSED 127.0.0
.1:4444
[12:48:27] E/launcher - Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:4444

Any advice is appreciated.

code

1

There are 1 best solutions below

0
Adam reed On

I feel this is on the network side issue - 127.0.0.1 this IP and 4444 port number might be not able to connect to the server, i faced the same type of error and when looked it was the host being stopped to connect to the server - might be some firewalls - that was in my case which looks similar to me.