If I start volt server -p 3000 and then exit the server with control+c, the server says it has stopped and if i visit localhost:3000, I get a "cannot connect" page as expected.
However, if I then try to start up the server again on the same port, I get the error that the port is already in use.
Then I run ps aux | grep volt and kill -9 the PID.
After doing this, trying to run volt server -p 3000 opens the server, but it seems like the original server process is still running. I.e. if I run App#1 on port 3000, close it, and start App#2 on port 3000, I still get errors about App#1 code.
The only thing I have found that works is a. restarting my computer or b. starting the server on a different port.
If I start
volt server -p 3000
and then exit the server withcontrol+c
, the server says it has stopped and if i visitlocalhost:3000
, I get a "cannot connect" page as expected.However, if I then try to start up the server again on the same port, I get the error that the port is already in use.
Then I run
ps aux | grep volt
andkill -9
the PID.After doing this, trying to run
volt server -p 3000
opens the server, but it seems like the original server process is still running. I.e. if I run App#1 on port 3000, close it, and start App#2 on port 3000, I still get errors about App#1 code.The only thing I have found that works is a. restarting my computer or b. starting the server on a different port.