dat icon indicating copy to clipboard operation
dat copied to clipboard

Display which incoming port is being used

Open mitar opened this issue 7 years ago • 1 comments

It seems that dat can automatically start using a non-default ports if cannot get a default port. For example, if I run multiple instances of dat share on my machine, the first will use the default port, but other instances will not. But this means that without opening a firewall for those random ports now used by other instances, peers are unable to connect.

I think that dat should print out that it is using an alternative port. Or it should complain and exit and require user to specify a port on their own using the --port argument.

mitar avatar Feb 22 '18 22:02 mitar

Seems like a good idea to me

pfrazee avatar Feb 22 '18 23:02 pfrazee