Monday, June 5, 2017

Err address in use

this error occurs when we are using a port and try to bind the same port again. I have this error when I was using react and using 9080 port and tried to run server on same port. We have to kill the process first and then we have to bind the port again.

In windows you can use the following command to kill all instances of node server running

taskkill /f /im node.exe

No comments:

Post a Comment

Call a function in child component from parent component in React

Consider the following parent component class Parent extends React.Component { constructor(props) { super(props);         thi...