Well, I haven't done this myself but assuming you are on an internet provider which gives you dynamic IP then you will need a service like the free http://www.dyndns.com/
Or alternatively you could contact your Internet service provider and ask them to provide you with a fixed IP address so that you can have people connect to your server over the Internet.