Chances are, your ports are either closed on the firewall and/or you need to forward them on your router.
If you just want to set up a game among friends, the easiest thing to do would probably be to grab Hamachi and set up a network. People on your network will be able to see your server just like on a LAN.