No Connection possible
What happened? / Что случилось?
I have it installed on my home-server. from them it looks like working fine. but i cannot connect via network to the tool. if i use the servers local IP-Address, my browser says, it couldn't connect. but if i use same address on Server, it works.
How can i make it work in my network? or is this a bug?
Steps to reproduce / Как повторить
- start the tool
- connect via browser from my PC to the Tool on my server
- Can't connect.
What did you expect? / Что ожидали?
It has to work on network like on same machine.
ACE-Step Studio version / Версия
latest
System and package / Система и сборка
Linux — .deb
System version / Версия системы
Linux Mint 22.3
Graphics card / Видеокарта
NVIDIA RTX PRO 2000 Blackwell
Model set / Набор моделей
No response
Log / Лог
Screenshots or files / Скриншоты или файлы
No response
It works on the network, but it is off by default: until you turn it on, the studio listens on the server itself only (127.0.0.1), which is exactly what you see — the server's own browser connects, your PC gets "couldn't connect".
To turn it on, on the server:
- Open Settings → Appearance → Access from the network and switch it on. The studio makes an access key and shows the address with it.
- Close the studio and start it again. The address it listens on is chosen when it starts, so the switch does nothing until then.
- On your PC open
http://<server's local IP>:8792/?key=<the key>. The key is kept in a cookie after the first visit, so later justhttp://<server's local IP>:8792/works.
If it still cannot connect after the restart, the server's firewall is closing the port. On Linux Mint that is usually ufw; this opens it for your home network only:
sudo ufw allow from 192.168.0.0/16 to any port 8792 proto tcp
(Change 192.168.0.0/16 if your network uses other addresses.) Anyone who has the key can drive the studio, so keep it to your network.
Thank you for your response, but there is no checkbox or something to enable network. if so, i would have it enabled allready. :-( Sorry. but in config i've seen this setting, but if i enabled it while the tool is not running, it disables it after starting it.
https://cloud.gfaserver.de/index.php/s/DmEekJ8dLekyfpk
Thank you, you were right, and both things you saw are bugs on our side.
- The switch is shown only in the studio's own window. In a browser, even one on the server itself, it does not appear, so on a server you use through a browser there was no way to turn it on.
- Access turned on by hand in the settings file without a key stays off at start: the studio listens on the network only when it also has a key, and it did not make one for a setting written by hand.
Both are fixed for the next update. The switch will be shown in any browser on the server itself (never to other computers), and access turned on in the file gets its key when the studio starts.
Until then, this works with the current version:
- Close the studio completely.
- Make a key:
openssl rand -hex 32 - In
~/.local/share/ace-step-studio/studio-settings.jsonset thenetworkentry to:"network": { "enabled": true, "key": "<the key from step 2>" } - Start the studio and open
http://<server's local IP>:8792/?key=<the key>from your PC.
If it still does not connect, the firewall rule from my previous answer opens the port for your home network.
Fixed in 3.6.0: https://github.com/timoncool/ACE-Step-Studio/releases/tag/v3.6.0
Access from the network can now be turned on from a browser on the studio's own computer, not only in its window, so a studio on a server without a desktop is reachable: open Settings - Network on the server itself (http://127.0.0.1:8792/), turn access on and use the key it shows. Access turned on by hand in studio-settings.json without a key now gets one at start instead of staying on this computer only. Thank you for the report!