displayer
displayer copied to clipboard
Can't connect to admin server
trafficstars
Hi @litrik ,
I start successfull server with command:
adb shell am start -a com.displayer.action.CONFIG \
-e com.displayer.extra.ADMIN_PORT 4000 \
-e com.displayer.extra.ADMIN_SECRET "SsU3rAYVqZ3d" \
/
but when i try to load a remote display file with command as you guided:
curl "http://192.168.31.199:4000/admin?secret=SsU3rAYVqZ3d&url=https://raw.githubusercontent.com/litrik/displayer/main/docs/samples/regions.json"
and I get error like below:
curl: (7) Failed to connect to 192.168.31.199 port 4000 after 5 ms: Couldn't connect to server
I run app on macOS Apple chip M1. Please let me know what part i miss. Thank you in advance.
@Jothebug That's strange. Are you 100% sure 192.168.31.199 is the correct IP address? Can you doe ping 192.168.31.199?
If both answer are 'yes'.... Is this on an emulator? Or a real device? Is there a firewall active that might be blocking the connection?