Comments (6)
I got a chance to poke at this tonight. I can confirm that the DELETE
request to stop the tunnel is correctly returning a 204
like it should and hitting the API to get a list of tunnels afterwards shows no tunnels are running. I think this may be a bug in Ngrok. The tunnels seem to just keep running until I kill the binary.
from box-ngrok.
This happens on Mac as well. The difference is it doesn't seem like the Mac binary is blocking.
I'm not sure how to actually kill the binary. On either platform.
from box-ngrok.
This thread seems to imply that the only way to stop the share is kill the process.
http://stackoverflow.com/questions/26291006/stop-sharing-a-port-on-ngrok
from box-ngrok.
I would think Java would have a way to interact with the system processes? I can look in to that.
from box-ngrok.
If I keep a reference to the Process
returned by the start()
method and I call process.destroy()
on it, that will kill the ngrok binary. Closing the CommandBox console will also kill it. I assume because it's a child process.
from box-ngrok.
See this here:
#5
from box-ngrok.
Related Issues (10)
- Start server with correct arguments HOT 3
- onServerStop interceptor throws error if no tunnels are running HOT 1
- Not working with ColdFusion 11 HOT 8
- access denied when share starts server HOT 1
- Doesn't bind when using local host other than localhost HOT 2
- Migrate to the run command to show ngrok output inline
- Alias 'unshare' for 'server share stop' HOT 1
- Update of lib folder needed HOT 1
- Feature request - allow specifying ngrok domain
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box-ngrok.