Get host name/ port

How can I get the host name/ port from the xwiki-website? There are parameters?

example: http://servername:8080/