Connection timed out Error

I use streamlit and socket module to creat a button “connect”, if button clicked:

soc = socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0)
soc.connect((SERVER_ADDRESS, PORT))

when i run it “streamlit run” (localhost)-> Successful
but when i upload to streamlit clound, it throwed a err “”


This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.