No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How can i access dev server from intranet device?

    Help
    2
    8
    1141
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      Yuan last edited by Yuan

      I’ve tried to configure the server host in “quasar.conf.js”, but faild when i visit ‘192.168.2.XXX:8080’. And my backend api services is ok. sth wrong ?

      devServer: {
      host: '0.0.0.0'
      }
      

      Quasar info:
      Quasar: 1.0.0-beta.11
      @quasar/app: 1.0.0-beta.10

      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        https://v1.quasar-framework.org/quasar-cli/opening-dev-server-to-public

        Y 1 Reply Last reply Reply Quote 0
        • Y
          Yuan last edited by Yuan

          Oh, i miss it, sorry.

          1 Reply Last reply Reply Quote 0
          • Y
            Yuan @rstoenescu last edited by Yuan

            @rstoenescu Old quasar cli version(v0.17.x) looks like didn’t depend on other external tools like Serveo or Ngrok, but Thx!

            1 Reply Last reply Reply Quote 0
            • Y
              Yuan last edited by

              @rstoenescu oh, no. I think you misunderstood what I meant. I want access dev server from local area network not public😥.

              1 Reply Last reply Reply Quote 0
              • Y
                Yuan last edited by

                some links:
                https://github.com/webpack/webpack-dev-server/issues/147
                https://stackoverflow.com/questions/35412137/how-to-get-access-to-webpack-dev-server-from-devices-in-local-network
                It not work.

                1 Reply Last reply Reply Quote 0
                • rstoenescu
                  rstoenescu Admin last edited by

                  The Quasar CLI doesn’t depend on serveo or ngrok… it’s just a way that you can open up the devserver.
                  Otherwise, if you want it for your local network then all you have to do is to ensure that you can access the dev machine from the other device in your network. So configure your network properly…

                  1 Reply Last reply Reply Quote 0
                  • Y
                    Yuan last edited by

                    When I woke up in the morning, everything was all right.😂

                    1 Reply Last reply Reply Quote 2
                    • First post
                      Last post