tell blockexplorer to run on port 8080 (#3237)
* tell blockexplorer to run on port 8080 * forward port 80 to 5000 for a blockexplorer node
This commit is contained in:
parent
1ee43a7633
commit
a799f8f4b1
|
@ -480,6 +480,7 @@ $(
|
|||
install-nodejs.sh \
|
||||
install-redis.sh \
|
||||
install-rsync.sh \
|
||||
install-socat.sh \
|
||||
network-config.sh \
|
||||
remove-docker-interface.sh \
|
||||
|
||||
|
|
|
@ -116,6 +116,7 @@ local|tar)
|
|||
if [[ $nodeType = blockstreamer ]]; then
|
||||
npm install @solana/blockexplorer@1
|
||||
npx solana-blockexplorer > blockexplorer.log 2>&1 &
|
||||
sudo socat TCP-LISTEN:80,reuseaddr,fork,su=nobody TCP:localhost:5000
|
||||
fi
|
||||
./multinode-demo/fullnode.sh "${args[@]}" "$entrypointIp":~/solana "$entrypointIp:8001" > fullnode.log 2>&1 &
|
||||
;;
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# socat setup for
|
||||
#
|
||||
set -ex
|
||||
|
||||
[[ $(uname) = Linux ]] || exit 1
|
||||
[[ $USER = root ]] || exit 1
|
||||
|
||||
apt-get --assume-yes install socat
|
Loading…
Reference in New Issue