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

    Configuring dev server to run on port 80

    Framework
    2
    2
    2741
    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.
    • Al1_andre
      Al1_andre last edited by

      I’m facing an issue. I’m trying to a social login app (via facebook) and the login popup does not close. It seems it’s because the port is not a standard one (80 or 443) : stackoverflow

      So I’m trying to configure my app to run on port 80 and it fails.
      Here is my conf : (I’m using quasar 0.15.8)

      module.exports = function (ctx) {
        return {
          devServer: {
            // https: true,
            port: 80,
            open: true // opens browser window automatically
          }
      

      And here is the error on build :

       app:dev Checking listening address availability (0.0.0.0:80)... +4ms
      
       app:dev Unknown network error occured +0ms
      {   Error: listen EACCES 0.0.0.0:80
        
        - next_tick.js:141 _combinedTickCallback
          internal/process/next_tick.js:141:11
        
        - next_tick.js:180 process._tickCallback
          internal/process/next_tick.js:180:9
        
      
        code: 'EACCES',
        errno: 'EACCES',
        syscall: 'listen',
        address: '0.0.0.0',
        port: 80 }
      

      I have nothing running on port 80 ! Can someone help me ?

      1 Reply Last reply Reply Quote 0
      • a47ae
        a47ae last edited by

        Thats becaue ports lower than 1024 are so called priviledged ports: https://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html

        So either you choose another port or you run as priviledges user.
        On macOS/Linux use sudo quasar dev to be allowed to use this port.

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