-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use specic port with this #66
Comments
Hi @kateile, thanks for the issue! This library is intended to be embedded directly into the go application you are running on port 7373, such that the requests are sent directly to your handler function. Can you explain a little more about the use case you are trying to solve here so we can figure out the right solution? |
@russorat thanks for response. Running ngrok via bash seems to work fine. But with this lib I get ERR_NGROK_3004. That's why I thought may be I might be missing something on port configuration. I will try to reproduce on it another repository. |
Can you provide a minimal explanation on how to achieve this while the new version is getting released? |
This was actually released a few months ago! You want either the top-level ListenAndForward function, or the |
I was using
ngrok http 7373
from bash now I want to switch to this but I can't figure how.This is how I use it
The text was updated successfully, but these errors were encountered: