Expose Local WebSocket, HTTP and HTTPS WebServers to the Public Internet with Ngrok

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024

Комментарии • 41

  • @emperorj4783
    @emperorj4783 2 года назад +1

    Thank you so much! I finally found a tutorial on the WebSockets after searching for 2 weeks and turning into a zombie.. this was very helpful!

  • @akshayshinde1143
    @akshayshinde1143 4 месяца назад

    That TCP part is really helpful for me for socket Thank you 🙏

  • @levinjaytagapan4213
    @levinjaytagapan4213 4 года назад +1

    The TCP over https works like a charm. Thanks

    • @hnasr
      @hnasr  4 года назад

      nice!

  • @devyetii
    @devyetii 4 года назад +1

    Thanks Hussein, Extremely useful

  • @jacob_dmn
    @jacob_dmn Год назад

    What an explanation, Really love it. Cheers 🍻

  • @firmancreators
    @firmancreators 2 года назад

    cool tutorial. good luck always..👍👍👍👍👍👍👍

  • @streetfashiontv9149
    @streetfashiontv9149 2 года назад

    I'd like to know what you think of java as a backend technology and whether you use it....perhaps a future video?

  • @prashantbharati2613
    @prashantbharati2613 4 года назад

    well explained sir. i am trying to achieve something like this but i am stuck on the logic how does ngrok map a new subdomain every time. we have seen similar thing in slack also it create a new subdomain for every workspace

  • @nikunjbhartia2222
    @nikunjbhartia2222 4 года назад +1

    Awesome !
    Quick question (might be a dumb one) : I am using a JDBC client library in my Java app and wanted to sniff all the network packets (essentially what HTTP Requests/Response through the client library ) I tried using the tunnelIJ Intellij plugin and TCPMON Http proxy plugin but not sure what target hostname and port to set (as the client library may have different target hosts for different requests like one for oauth and another for actual resource request ) Does this make sense ? Also, I assume those are HTTPs requests

    • @hnasr
      @hnasr  4 года назад +1

      For windows I use fiddler which is a debug proxy that acts like a MITM, I want to use something similar in MAC/LInux I heard about mitmProxy and want to make a video on it ..
      but yeah I think this is what you are looking for

    • @nikunjbhartia2222
      @nikunjbhartia2222 4 года назад

      Cool.. thanks for the quick response

    • @nikunjbhartia2222
      @nikunjbhartia2222 4 года назад

      Also, just wanted to say that I love your videos and literally spend hours watching them. What clarity of thoughts !! Thanks for your time 🙏🤟

  • @clarawilliams534
    @clarawilliams534 3 года назад

    nice one

  • @ovaiskhan3566
    @ovaiskhan3566 2 года назад

    Hi for my web socket application I dont get the data from sensors on ngrok

  • @minicommando3249
    @minicommando3249 3 года назад +1

    can u use wss instead of ws?

    • @DontFollowZim
      @DontFollowZim 2 года назад

      Not as far as I've been able to find. If you find a way, let me know.

  • @anurag9110
    @anurag9110 3 года назад

    How to make our API publicly available in production?

  • @terabaap4956
    @terabaap4956 3 года назад

    I had one question i it good for app in production

  • @sadiqBD
    @sadiqBD 2 года назад

    Php websoket server not working ... working fine on local 😭

  • @armaandhanji7151
    @armaandhanji7151 4 года назад

    Hey Hussein, you might want to also check out this potential competitor to ngrok: www.cotunnel.com/
    I don't work for them, but I saw them announce it yesterday on producthunt.
    Copy-paste of what developers for cotunnel mentioned:
    Cotunnel Free plan:
    Static subdomain. Your subdomain doesn't change if you restart cotunnel client.
    No connection Limit.
    Ngrok Free Plan:
    Random subdomain.
    Connection limit.
    Ngrok Features:
    HTTP(S)/TCP/UDP tunnel.
    Cotunnel Features:
    HTTP(S) tunnel (TCP and UDP under development).
    Remote terminal access on the cotunnel dashboard.
    Continous running. If you are using Linux and installed with the cotunnel installation script, cotunnel client runs continuously (as a service).
    Cotunnel is device based, ngrok is tunnel based

  • @tyrrelldavis9919
    @tyrrelldavis9919 4 года назад

    How would you expose a dev server to just your own wi fi? Instead of the whole internet.
    Kind of like what browsersync does

    • @noahwilliams8918
      @noahwilliams8918 4 года назад

      Most web servers usually are by default, if you start one on your laptop say, you can just type your laptop's IP address into another device on the local network.

  • @eniodefarias
    @eniodefarias 3 года назад

    how to do start ngrok to tunnel "http apache" and "ssh" same time?

  • @sandhu8764
    @sandhu8764 3 года назад

    Public link tunnel not found

  • @debugmedia
    @debugmedia 4 года назад +2

    I'v been pronouncing it as n-g-rok the whole time 😭

  • @N0AGI
    @N0AGI 2 года назад +1

    too much chatter...

  • @janjanmedina7399
    @janjanmedina7399 4 года назад

    Wait I thought it was pronounced as N-G-rok

    • @hnasr
      @hnasr  4 года назад

      Janjan Medina haha I don’t know 🤷‍♀️ It might be

    • @micalevisk
      @micalevisk 4 года назад

      @@hnasr you guessed it right hahaha it's from "network grok" ruclips.net/video/F_xNOVY96Ng/видео.html

  • @ragavanr5480
    @ragavanr5480 3 года назад

    i did the same in my c# wsclient but got this error {"The remote name could not be resolved: '0.tcp.ngrok.io'"}