I'm trying to make a minecraft server on Technic. I use xfinity, I've port forwarded, but I can only connect using localhost, not using ip?

I'm trying to make a minecraft server on Technic. I use xfinity, I've port forwarded, but I can only connect using localhost, not using ip?

That's the point. You connect YOURSELF to Localhost but you give out your IP to others that want to join