#Mahesh K
1 messages · Page 1 of 1 (latest)
Hi what's the issue?
when i catch my desired event and i am updating my database.
let me share screenshots
in the above screenshot, when i comment the database updated part , my server running fine
but when i include the code i am getting the following error
Yeah that's not a stripe error
Looks like you have another service already running on port 8000
no
i crosschecked
but whey include the databse update code in the switch statement i am getting that error
but when remove the code my server is running fine
can you help me with this if possible.
Something on your server is trying to access port 8000 then
what is in the config variable you pass to sql.connect?
in that i required the my mssql connecting details
But in that log it looks like you start node api.js twice...
Which is why the second instance errors out when trying to run on port 8000
Might be some issue with the server not shutting down fully in between the restart
Try shutting server down and killing process completely. Then uncomment database code. Then start it up again
ok will do that.