With the limited information given, I'd guess you haven't set up your router/modem to allow incoming connections. Google around for 'port forwarding' (I think that's the correct term... haven't set up a server in awhile) and you should be good to go.