Hi, @alfredOhmps . Sorry for the late reply. The problem is related to the fact that the ngrok extension does not support the latest versions of Visual Studio. For the tunnel to work: - just run your application in visual studio and copy the address of which local host it was launched on. (for example, your application was launched on localhost:5255) - open the folder(ProgramFiles/Ngrok or your path) and run the application "ngrok.exe" - In the window that opens, enter the command 'ngrok http localhost:5255' and press enter - after that you will see something like this: Forwarding 12fe-86-63-23-298.ngrok-free.app -> localhost:5255 That's all 12fe-86-63-23-298.ngrok-free.app is your external public address
Please pay attention to your URL addresses in ngrok and in the browser when you launch the application, are they the same, are the ports in localhost also the same? Check if you entered the endpoint api correctly
If you want to open the way to another solution, then everything is very simple. 1. Open the solution in Visual Studio 2. Run app 3. In VisualStudio Tools =》Start ngrok tunnel
Please describe the error in more detail. I just checked and everything works. My configuration: IDE - "Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.9.0 Preview 1.0" Project type - "web api(.Net 8)" Extensions in Visual Studio Community - "Ngrok Extensions 2022 0.9.14" While installing the extension, you must close Visual Studio
big thanks, devtunnel of VS2022 is unstable, i spent 3days already. maybe because i'm using Windows 11 Home.
Hi, @alfredOhmps . Sorry for the late reply. The problem is related to the fact that the ngrok extension does not support the latest versions of Visual Studio.
For the tunnel to work:
- just run your application in visual studio and copy the address of which local host it was launched on. (for example, your application was launched on localhost:5255)
- open the folder(ProgramFiles/Ngrok or your path) and run the application "ngrok.exe"
- In the window that opens, enter the command 'ngrok http localhost:5255' and press enter
- after that you will see something like this:
Forwarding 12fe-86-63-23-298.ngrok-free.app -> localhost:5255
That's all
12fe-86-63-23-298.ngrok-free.app is your external public address
thank you very much. from Vietnamese with love ♥
Thank you very much for this feedback ♥, I’m very glad that I could help you
Thanks for the video! Very nice and easy to follow
I'm glad to hear it. Thanks a lot for the feedback
Thank you very much, bro. You saved me.❤❤
Glad to hear that😀
thanks bro , it works great 👍👍
You're welcome!
i cannot use it while fetching data in angular...
it works! thanks a lot! :)
when I go to: tools - options - ngrok - options: Executable path is empty
You can add this path manually because the path textbox is writable.
Thank you very much!
You are welcome)
I did everythink but when I wanted to get api, it returned me http error 404. Why?Can you help, please?
Please pay attention to your URL addresses in ngrok and in the browser when you launch the application, are they the same, are the ports in localhost also the same? Check if you entered the endpoint api correctly
if i need to open another way how? repeat all step from zero?
If you want to open the way to another solution, then everything is very simple. 1. Open the solution in Visual Studio 2. Run app 3. In VisualStudio Tools =》Start ngrok tunnel
i am getting ngrok error 6024
big help thx
You're welcome
Thanks ji
You can fix bug cros , where call api
Please describe the problem in more detail if this was a question for me. Perhaps you didn’t mean "cros" but "cors"?
its very big url :D
Unable to install error with VS 2022
Please describe the error in more detail.
I just checked and everything works.
My configuration:
IDE - "Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.9.0 Preview 1.0"
Project type - "web api(.Net 8)"
Extensions in Visual Studio Community - "Ngrok Extensions 2022 0.9.14"
While installing the extension, you must close Visual Studio