Different Ports numbers in documentation

Hello,

On the documentation: https://docs.uns.network/uns-network-setting-up-node/#introduction

It’s written that the ports used are 4102 (required) and 4103 (optional):

Network configuration

Depending on your hosting infrastructure, you will need open TCP ports on your firewall:

  • SANDBOX:
    • 4102 (required): this is the communication port used by the node to exchange information with other nodes of the uns.network
    • 4103 (optional): open it if you want to open the API to the world, in order to submit transactions for example. If you don’t know what is it for, keep it closed

but in the docker-compose.yml provided in the same documentation, it’s indicated ports 4002 and 4003:

ports:
     - "4002:4002"
     - "4003:4003"

And indeed when executing a netstat -nlp command inside the container (docker-compose exec uns netstat -nlp), Netstat report that listening ports are 4002 and 4003 (among others):

~/unikname$ docker-compose exec uns netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:4003            0.0.0.0:*               LISTEN      122/node
tcp        0      0 0.0.0.0:4040            0.0.0.0:*               LISTEN      122/node
tcp        0      0 127.0.0.11:33905        0.0.0.0:*               LISTEN      -
tcp        0      0 :::4002                 :::*                    LISTEN      140/node
udp        0      0 127.0.0.11:50079        0.0.0.0:*                           -
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node PID/Program name    Path
unix  2      [ ACC ]     STREAM     LISTENING     14906303 133/node            /tmp/socketcluster/core-p2p_f75511c728/b0

Are the right ports 4002 and 4003 at the end ? Or is it really 4102 and 4103 ?

Also on Delegates monitor UI, my node (@bpresles) is indicated as “Not forging”, is it normal ? https://sandbox.explorer.uns.network/delegate-monitor

As stated in How to migrate from DEVNET to new SANDBOX network?
The ports for the sandbox network are 4002 and 4003. The documentation is slowly being updated to reflect changes from the old network to the new one :slight_smile:

Good catch though !

All the documentation has been updated, thank you for your nighthawk eyes!

:point_right: https://docs.uns.network/uns-network-setting-up-node/#network-configuration

We are monitoring the useful documentation with “bugs” to find by the community :slight_smile:
Thank you for being so precise!

That’s another story.