Preview site on same network, what am I doing wrong?

Any time you specify this address that will be the case.

My question is, if wappler starts on localhost like it's said, why it's accesible from any device?

Don't get confused any further, your previous post is 100% right

Wappler NodeJS local server is binding to 0.0.0.0

1 Like

127... is only you, 0... is everybody.

Yes, and only wanted to friendly advice you, just in case that nodejs is on 0.0.0.0

But you're saying node js wappler server starts on localhost (127.0.0.1) and I'm saying that's not possible, because I can access from anywhere else.
So my point here, is that nodejs server starts on 0.0.0.0 and not on 127.0.0.1
That's why I started saying that I don't understanded @Apple at first of all, because he said that he was not ok with 0.0.0.0 on php server, but nodejs already do that..

Both will be available as will the DHCP address. Some may need configuration depending upon the Users network conditions. Some don't want open connections like me and Apple. We prefer only the local host. Hence Apple prefering to bind to 127 and not 0. Its apples and oranges (excuse the pun @Apple hahaha), oranges and lemons, or grapes and bananas...

:slight_smile:

1 Like

But I'm right saying that Wappler Node local server doesn't start on localhost, and instead, it starts on 0.0.0.0?

Sorry to take this too long, and thank for all your replies my friend :beers:

1 Like

It will be available on both unless bound to a specific address. As you correctly outlined

I'm just here to cause confusion! :smiley:

Joking aside it is a security concern when binding to 0... Much prefer to bind to a specific address.

But that's possible with Wappler :thinking:?

No that would be a manual intervention. Maybe something that could be added in the Settings panel of Wappler though..? ie have Node settings exposed and allow for User changes to be applied.

I thought this conversation was ended :laughing:

1 Like

The good thing is, I learned a lot :slight_smile:
And surely this will be unlisted, so it will live only in our memories haha
Thanks everyone again..

1 Like

Perhaps a solution is staring us in the face

Just use ngrok?

This has been improved in Wappler 6.7.1

This topic was automatically closed after 2 days. New replies are no longer allowed.