Can you connect to a LAN server without being on the same internet connection

I was just wondering if you can make a LAN server then connect being across the world just using the ip address that you get to choose like this

Gamemode: blah, Op: blah

Port, IP Address

12345, 101.game.net


Solution 1:

I believe you would have to setup a dedicated server, and portforward/Hamachi to exit your LAN,and connect with IP/Port. Setting this up is relatively easy See The Minecraft Wiki article on it.