/ .streamlit / config.toml
config.toml
 1  # Streamlit Configuration
 2  
 3  [server]
 4  # Bind to localhost only for security (no LAN access)
 5  address = "127.0.0.1"
 6  port = 8501
 7  
 8  # Enable XSRF protection for security
 9  enableXsrfProtection = true
10  
11  [browser]
12  # Don't automatically open browser on startup
13  gatherUsageStats = false