#Serveur MODE
1 messages · Page 1 of 1 (latest)
in the Server Info tab it will show you the LAN address
if you want external access it's a bit more variable, see: https://github.com/mcmonkeyprojects/SwarmUI/blob/master/docs/Advanced Usage.md#accessing-swarmui-from-other-devices
Thank you, unfortunately, the local setup isn’t working, and I don’t know much about it. Ngrok seems easy to use, but what should I put in "ngrok-path" and "ngrok-basic-auth"?
if you've never used ngrok before, use cloudflared
ngrok support is basically just for people who use ngrok already
okay, I admit I don't really understand cloudflare either.
are you on windows or linux?
windows
I thiiink:
- download this thingy https://github.com/cloudflare/cloudflared/releases/download/2024.11.0/cloudflared-windows-amd64.exe
- save it somewhere you can leave it
- right click and hit
Copy as path - in swarm server config paste the path into the CloudflaredPath setting
- (it'll probably add quotes so delete the quotes)
- save settings change & restart swarm
- look into server info and it should give you the link
Update to latest Swarm and try again, I pushed a minor fix after testing. With that fix I got in server info
and that link worked
It doesn't work the link it generates is no good
eh?
glancing at google says that's some form of connection blocked error
the cloudflared process ran fine but wasn't able to connect to the cloudflare servers properly
in fact I use a 5G box because I don't have fiber, so local hosting doesn't work... it's a shame that it doesn't work either.
Hi, I am not sure that having a 5G box has anything to do with local hosting.
You should look into your Windows firewall settings, maybe, the cloudflared port is not open and then connections on it are blocked.
And maybe look at what it does and says during the server star in the logs or the command line window that should have opened when you ran the launch-windows.bat. You might have some hint as to what went wrong
I use cloudflared because I don't have a static IPv4 address (DSL-Lite), and haven't had any issues with it when I access it through a custom (sub) domain.
And if the server has crashed, Cloudflare just shows a 500 error.
It takes a bit to set up, but when it works the cloudflared application will handle everything for you, no matter what kind of internet you have (unless your ISP blocks it, which I doubt)