zold-io / zold

An Experimental Non-Blockchain Cryptocurrency for Fast Micro Payments
https://www.zold.io
MIT License
195 stars 53 forks source link

Default node port already assigned by IANA to another application #748

Open golyalpha opened 5 years ago

golyalpha commented 5 years ago

The default port used by the zold node command is an IANA registered port with an assigned protocol, as seen here.

We should change the default port to something else, to prevent conflicts, especially since this port already has an official use.

We can, in fact, use one of the ports from the Dynamic/Private range (49152-65535), which is a range of ports that IANA will never assign to any particular application, which is recommended, since we have a system in place, that allows nodes to exchange contact ports.

Alternative is picking a free port in the User/Registered range (1024-49151), and trying to register it with IANA, but considering that individual nodes exchange contact port numbers, such a request may not be approved.

0crat commented 5 years ago

@yegor256/z please, pay attention to this issue

yegor256 commented 5 years ago

@golyalpha good point, thanks!

0crat commented 5 years ago

Job #748 is now in scope, role is DEV

0crat commented 5 years ago

There is an unrecoverable failure on my side. Please, submit it here:

PID: 4@665eae20-6113-4e9b-a997-29c0a8736053, thread: pool-5-thread-1
com.zerocracy.farm.reactive.StkRuntime[76] java.lang.IllegalStateException: org.codehaus.groovy.runtime.InvokerInvocationException in com.zerocracy.stk.pm.scope.wbs.add_label_to_github_ticket
org.codehaus.groovy.reflection.CachedMethod[105] org.codehaus.groovy.runtime.InvokerInvocationException: java.io.IOException: failed after 4 attempts
com.jcabi.http.wire.RetryWire[95] java.io.IOException: failed after 4 attempts

0.46.11: CID: 15fbc3b4-1a04-4fde-b973-61399a015570, Type: "Job was added to WBS"

0crat commented 5 years ago

Bug was reported, see §29: +15 point(s) just awarded to @golyalpha/z