Page 1 of 1

Allow connecting to a server using hostname instead of IP

Posted: Sat Nov 01, 2014 12:16 pm
by terrible
At the moment, you can only connect to a server using an IP or IP:port.
I propose adding hostname and hostname:port to that.

This is far more convenient if you plan to host a 24/7 server on the internet. People wouldn't have to remember an IP, but instead a domain name, e.g. "johnmaddenfactorio.com".

On top of that, it makes it a bit easier to start LAN games, since then you can just tell other people what your computer name is instead of having to look up your IP.

Re: Allow connecting to a server using hostname instead of I

Posted: Mon Nov 03, 2014 2:30 pm
by bobingabout
I agree, I have a hostname for the reason of telling people rather than my IP, Before I got this though, I used to have a Dynamic IP, and for the sake of not having to look it up every time someone connected, I had a DYNDNS service running, which binds my dynamic IP to a static hostname.

Re: Allow connecting to a server using hostname instead of I

Posted: Tue Nov 11, 2014 8:40 am
by cube
I'll do this together with the IPv6 support.... not now, though.

Re: Allow connecting to a server using hostname instead of I

Posted: Tue Nov 11, 2014 9:37 am
by bobingabout
Another sugestion on the same subject... Remember previously entered addresses. Ideally with some sort of list, though even just the last one entered would be a step forward.

Re: Allow connecting to a server using hostname instead of I

Posted: Wed Nov 12, 2014 11:33 pm
by SHiRKiT
bobingabout wrote:Another sugestion on the same subject... Remember previously entered addresses. Ideally with some sort of list, though even just the last one entered would be a step forward.
Already done for 0.12, don't know where I saw it though, but it was by Kovarex.

Multiplayer Connection Supports DNS Names

Posted: Mon May 11, 2015 12:54 am
by WhiteFusion
Joined -- ssilk


It's only for the few who actually went through the effort, but the game should at least accept a DNS name of a server if people choose to opt for the work required to get a domain name for their server.

Re: Allow connecting to a server using hostname instead of IP

Posted: Mon May 11, 2015 11:25 pm
by Frn
terrible wrote:At the moment, you can only connect to a server using an IP or IP:port.
I propose adding hostname and hostname:port to that.

This is far more convenient if you plan to host a 24/7 server on the internet. People wouldn't have to remember an IP, but instead a domain name, e.g. "johnmaddenfactorio.com".

On top of that, it makes it a bit easier to start LAN games, since then you can just tell other people what your computer name is instead of having to look up your IP.
You can use programs to turn domains to IPs such as No-ip or whatever, but I am not sure if these work on Factorio :)