Essentially, firewalls block out unwanted incoming connections. The above script is a good example. A server can log your ip address, operating system and the browser you are using. The ip address can be used in a "Whois" scan (you can do one yourself at
www.tools-on.net ) which will come up with a hostname, your location, isp and possibly some personal details but unlikely to be that specific.