Bitcoin Forum
June 22, 2024, 04:56:17 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 65535 highest port? (p2pool)  (Read 490 times)
spacecoin7 (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
April 01, 2014, 08:52:08 AM
 #1

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.
OnkelPaul
Legendary
*
Offline Offline

Activity: 1039
Merit: 1004



View Profile
April 01, 2014, 08:56:13 AM
 #2

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

Buffer Overflow
Legendary
*
Offline Offline

Activity: 1652
Merit: 1015



View Profile
April 01, 2014, 09:23:40 AM
 #3

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!