google/trillian-examples

"registers" : Identical port use causes "bind: address already in use"

lukehinds opened this issue · 1 comments

When running make tlsigner it fails from trying to bind to the same port as the already running logserver 8090

F0618 14:26:06.182534  880125 main.go:205] Server exited with error: listen tcp 127.0.0.1:8090: bind: address already in use                                                                                                                │
make: *** [Makefile:15: tlsigner] Error 1    

This can be resolved by setting an rpc endpoint

cd $T && ./trillian_log_signer --logtostderr --force_master --http_endpoint=localhost:8092 --rpc_endpoint=localhost:8193 --batch_size=1000 --sequencer_guard_window=0 --sequencer_interval=200ms