reflex
reflex copied to clipboard
Replit can't normal use
Using replit after the operation showed as follows
Python : 3.10.8 OS : Linux 1d430db8ba03 5.19.0-1027-gcp #29~22.04.1-Ubuntu SMP Thu Jun 22 05:13:17 UTC 2023 x86_64 GNU/Linux
Can you provide more information, such as what code and commands you're running
Can you provide more information, such as what code and commands you're running
Thanks for reply. I think I know what the problem is, because reflex will open two ports, and the url provided by replit will randomly use one port, so this phenomenon is caused.
The workaround is to add to the.replit file [[ports]] localPort = 8000 externalPort = 3000