2014-03-13 48 views
0

我一直玩在過去幾天,讓它加載狗幣區塊鏈。一切工作完全在我的localhost和當我去http://localhost:2750一切工作正常。不幸的是,當我將它移動到與以下配置活動服務器:無法分配請求的地址錯誤與比特幣阿布

dbtype sqlite3 
connect-args doge.sqlite 
port 2750 
host SERVER_IP_ADDRESS 
datadir = [{ 
     "dirname": "/home/ubuntu/.dogecoin", 
     "chain": "Dogecoin", 
     "code3": "DOGE", 
     "address_version": "\u001e", 
     "magic": "\u00c0\u00c0\u00c0\u00c0", 
     "conf": "dogecoin.conf", 
     "trim_depth": 40 
     }] 
commit-bytes = 100000 
keep-scriptsig = false 
int-type str 

,當我啓動我得到這個錯誤:

[email protected]:~$ sudo python -m Abe.abe --config doge.conf 
Opened /home/ubuntu/.dogecoin/blocks/blk00022.dat 
Abe initialized. 
Traceback (most recent call last): 
    File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main 
    "__main__", fname, loader, pkg_name) 
    File "/usr/lib/python2.7/runpy.py", line 72, in _run_code 
    exec code in run_globals 
    File "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 2169, in <module> 
    sys.exit(main(sys.argv[1:])) 
    File "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 2165, in main 
    serve(store) 
    File "/usr/local/lib/python2.7/dist-packages/Abe/abe.py", line 2047, in serve 
    httpd = make_server(args.host, port, abe) 
    File "/usr/lib/python2.7/wsgiref/simple_server.py", line 144, in make_server 
    server = server_class((host, port), handler_class) 
    File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__ 
    self.server_bind() 
    File "/usr/lib/python2.7/wsgiref/simple_server.py", line 48, in server_bind 
    HTTPServer.server_bind(self) 
    File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind 
    SocketServer.TCPServer.server_bind(self) 
    File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind 
    self.socket.bind(self.server_address) 
    File "/usr/lib/python2.7/socket.py", line 224, in meth 
    return getattr(self._sock,name)(*args) 
socket.error: [Errno 99] Cannot assign requested address 

有沒有辦法,我失去了一些東西?

回答

0

好吧,我睡着了。我只需要使用0.0.0.0作爲主機。

相關問題