Keep running even if server is offline
See original GitHub issueI am using localtunnel
with Flask
and when using a development server, the server temporarily goes offline to restart if changes are detected.
Localtunnel goes offline when the server goes offline. Now, every single time I change a file, I need to rerun. Localtunnel is the easiest way for me to create tunnels. This (localtunnel going offline when the server restarts) is the only problem.
Is there anyway to disable this behavior?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
How to keep code running on client when server is offline
Simple answer i found. use try and except. simple as that.
Read more >Enable Always Offline mode for faster access to files
This document describes how to use the Always Offline mode of Offline Files to provide faster access to cached files and redirected folders....
Read more >Steps to Verifying a Server is Offline - Virtual-DBA
When a server appears to be offline, it's important to follow certain ... Run the following command: ping servername.domainname.com (Note: ...
Read more >Keep processes running after SSH session disconnects
When launching the service as regular user, one might need to enable lingering (cf. enable-linger loginctl option). This is true even with nohup ......
Read more >5 Ways to Keep Remote SSH Sessions and Processes ...
Don't Miss: 5 Useful Practices to Keep SSH Server Secure and Protected ... Resuming the session to view if job is still running....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue.
For me as workaround, I had another local proxy that is forwarding the localtunnel port to my local development server. Then I’m able to restart my server without losing the localtunnel connection, because the proxy is still up and running. I’m using http-simple-proxy for that.
Ah, thanks. I’ll try this out for myself later.