Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: spacecoin7 on April 01, 2014, 08:52:08 AM



Title: 65535 highest port? (p2pool)
Post by: spacecoin7 on April 01, 2014, 08:52:08 AM
Hi,

I've been pondering around these forums for some time now and recently decided to have a go at making a making an altcoin. I was just working with p2pool for mining uses and the config would not accept anything higher than port 65535 would this mean I'll be needing to lower the number all over to something less or is this just a restriction in p2pool, any thoughts are greatly appreciated.

Thanks.


Title: Re: 65535 highest port? (p2pool)
Post by: OnkelPaul on April 01, 2014, 08:56:13 AM
Ports in IP are 16 bits. The highest unsigned 16 bit number is 65535, so it's not possible to have higher port numbers.

Onkel Paul


Title: Re: 65535 highest port? (p2pool)
Post by: Buffer Overflow on April 01, 2014, 09:23:40 AM
Here is a good list of the ports.

https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

You shouldn't pick a port from 0 to 1023 because you will need to have root privileges to use those.