And bear in mind that normally you won't be directly connected to the Internet - your router will normally have a firewall too (that's why you can't normally run an Internet-accessible webserver from your laptop)