agitcms icon indicating copy to clipboard operation
agitcms copied to clipboard

Localhost vs 0.0.0.0

Open MadJalapeno opened this issue 1 year ago • 0 comments

Trying to access AgitCMS via my network to manage an 11ty site.

npx agitcms
Backend process started on port: 5151
Agit CMS is live on: http://localhost:3131

Works fine on the machine that it is installed on, but when I try to access it from another machine on my network I get a blank screen then I type in http://192.168.1.18:3131/

Source code of the displayed page is:

<!DOCTYPE html>
<html>
    <head>
      <link rel="icon" type="image/png" href="[icons/16x16.png](view-source:http://192.168.1.18:3131/icons/16x16.png)" sizes="16x16"/>
      <meta charset="utf-8" />
      <title>Agit CMS</title>
    </head>
    <body>
      <div id="root"></div>
      <script src="[./js/bundle.js](view-source:http://192.168.1.18:3131/js/bundle.js)"></script>
    </body>
</html>

Is it possible to connect via the network?

MadJalapeno avatar Jan 17 '24 00:01 MadJalapeno