Click here to Skip to main content
15,906,816 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have created a windows vps using GitHub and ngrok. I works good for some time but after 30 min it automatically shuts down. Here is my GitHub repository link

Can any one tell me how can this vps server be online for long period of time

What I have tried:

GitHub - arqamiy2k2/testproject[^]
Posted
Updated 12-Jun-22 22:56pm
Comments
Richard Deeming 13-Jun-22 4:36am    
Nobody is going to download your entire codebase and debug it for you.

If you can narrow down the problem to a specific part of your code, and still need help fixing it, then you can post the relevant parts of your code, the full details of any errors, and the details of what you have tried and where you are stuck.

1 solution

Nobody is going to download the whole code and wade through it trying to work out what might be happening - particularly when we have no idea what language it is even in!

And even if we did, the chances of us then running it without a through examination to ensure there is "nothing nasty" tucked away in there are extremely low. So we can't sit it there for half an hour to see if it crashes on us as well ...

And then there is the whole "half an hour" bit - that's not a good use of our time either!

So, it's going to be up to you.
Fortunately, you have a tool available to you which will help you find out what is going on: the debugger. How you use it depends on your compiler system, but a quick Google for the name of your IDE and "debugger" should give you the info you need.

Put a breakpoint on the first line in the function, and run your code through the debugger. Then look at your code, and at your data and work out what should happen manually. Then single step each line checking that what you expected to happen is exactly what did. When it isn't, that's when you have a problem, and you can back-track (or run it again and look more closely) to find out why.

Sorry, but we can't do that for you - time for you to learn a new (and very, very useful) skill: debugging!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900