작성
·
272
0
Fatal: Error starting protocol stack: listen tcp 127.0.0.1:8545: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
이렇게 떠서 진행이 안돼요 ㅜㅜ
답변 8
0
0
0
0
./nodestart.cmd 를 사용자 루트에서 실행시키셔서 그럽니다.
저도 같은 증상이어서 뭔가 했는데 nodestart.cmd랑 password.sec 파일을 루트에 만들어놓고 거기에서 실행을 하고 있더라고요 제가.... nodestart.cmd랑 password.sec 파일들 다 blockchain 폴더로 옮기시고 blockchain 폴더 들어가서 실행시켜보세요.
거기서 해도 안되시면 파워쉘 한번 껐다가 다시 켜보신 후에 해보세요!
전 그렇게 해서 해결했습니다!
0
0
0
PS C:UsersAdministrator> ./nodestart.cmd
C:UsersAdministrator>geth --networkid 4386 --mine --minerthreads 2 --datadir "./" --nodiscover --rpc --rpcport "8546" --rpccorsdomain "" --nat "any" --rpcapi eth,web3,personal,net --unlock 0 --password ./password.sec
INFO [07-24|20:13:06.057] Maximum peer count ETH=25 LES=0 total=25
INFO [07-24|20:13:06.123] Starting peer-to-peer node instance=Geth/v1.8.12-stable-37685930/windows-amd64/go1.10.3
INFO [07-24|20:13:06.129] Allocated cache and file handles database=C:\Users\Administrator\geth\chaindata cache=768 handles=1024
INFO [07-24|20:13:06.202] Writing default main-net genesis block
INFO [07-24|20:13:06.508] Persisted trie from memory database nodes=12356 size=1.88mB time=61.0227ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [07-24|20:13:06.517] Initialised chain configuration config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Byzantium: 4370000 Constantinople: Engine: ethash}"
INFO [07-24|20:13:06.528] Disk storage enabled for ethash caches dir=C:\Users\Administrator\geth\ethash count=3
INFO [07-24|20:13:06.534] Disk storage enabled for ethash DAGs dir=C:\Users\Administrator\AppData\Ethash count=2
INFO [07-24|20:13:06.539] Initialising Ethereum protocol versions="[63 62]" network=4386
INFO [07-24|20:13:06.544] Loaded most recent local header number=0 hash=d4e567…cb8fa3 td=17179869184
INFO [07-24|20:13:06.549] Loaded most recent local full block number=0 hash=d4e567…cb8fa3 td=17179869184
INFO [07-24|20:13:06.555] Loaded most recent local fast block number=0 hash=d4e567…cb8fa3 td=17179869184
INFO [07-24|20:13:06.561] Regenerated local transaction journal transactions=0 accounts=0
INFO [07-24|20:13:06.565] Starting P2P networking
INFO [07-24|20:13:06.585] RLPx listener up self="enode://0328fae116a70c3f103f00f93e881cbab78427a16d45918a2a52e0283f0ddd2a6c549eb2dca66643e9d5fceb1dfaf13206889f8e78a4c58ca60b7b68feb1501d@[::]:30303?discport=0"
INFO [07-24|20:13:06.587] IPC endpoint opened url=\\.\pipe\geth.ipc
INFO [07-24|20:13:06.597] HTTP endpoint opened url=http://127.0.0.1:8546 cors= vhosts=localhost
WARN [07-24|20:13:06.602] -------------------------------------------------------------------
WARN [07-24|20:13:06.606] Referring to accounts by order in the keystore folder is dangerous!
WARN [07-24|20:13:06.610] This functionality is deprecated and will be removed in the future!
WARN [07-24|20:13:06.613] Please use explicit addresses! (can search via geth account list
)
WARN [07-24|20:13:06.617] -------------------------------------------------------------------
Fatal: Could not list accounts: index 0 higher than number of accounts 0
PS C:UsersAdministrator>
포트를 바꾸고 다시실행했는데 이번엔 여기서 멈춰버렸어요,..
0
안녕하세요. 이미 8545포트가 사용중인 것 같네요. nodestart.cmd파일에서 --rpcport를 딴걸로 바꿔보시고 재실행해보세요. 예를들어 --rpcport "8546"