Query port number

Is there a possibility to query the own port number in a Streamlit application?

Hey @wwe,

There isn’t a built-in command for this in Streamlit, but you can probably use the netstat command to do this via the command line.