Giter Club home page Giter Club logo

Comments (10)

allmors avatar allmors commented on August 22, 2024

[email protected] start
node index.mjs

http server http://0.0.0.0:56559/ /home/senlief/web-proj/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929 throw new Error('ipaddr: the address has neither IPv6 nor IPv4 format'); ^

Error: ipaddr: the address has neither IPv6 nor IPv4 format at ipaddr.parse (/home/senlief/web-proj/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929:19) at GetAddrInfoReqWrap.callback (/home/senlief/web-proj/hideipnetwork-web/node_modules/@tomphttp/bare-server-node/dist/createServer.js:35:50) at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:130:8)

Node.js v20.3.1

如果不是docker部署,请把IP改为127.0.0.1

from hideipnetwork-web.

SenLief avatar SenLief commented on August 22, 2024

改了之后还是不行,仍然报这个错误

from hideipnetwork-web.

allmors avatar allmors commented on August 22, 2024

改了之后还是不行,仍然报这个错误

不可能的,安装教程来,看看哪部漏了

from hideipnetwork-web.

SenLief avatar SenLief commented on August 22, 2024

from hideipnetwork-web.

allmors avatar allmors commented on August 22, 2024

应该就 3 步吧 1. 克隆仓库 2. npm install 3. npm run start Nginx 利用 ws 反代

________________________________ 发件人: allmors @.> 发送时间: Tuesday, July 4, 2023 2:09:47 PM 收件人: Hideipnetwork/hideipnetwork-web @.> 抄送: SenLief @.>; Author @.> 主题: Re: [Hideipnetwork/hideipnetwork-web] 搜索没有反应,打开书签后台报错,v2版本 (Issue #31) 改了之后还是不行,仍然报这个错误 不可能的,安装教程来,看看哪部漏了 ― Reply to this email directly, view it on GitHub<#31 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHT6YA6JHPPMSJPDHYSCGC3XOOXSXANCNFSM6AAAAAAZ4OQ7WU. You are receiving this because you authored the thread.Message ID: @.***>

请检测服务IP环境

from hideipnetwork-web.

SenLief avatar SenLief commented on August 22, 2024

from hideipnetwork-web.

tanglu1323123 avatar tanglu1323123 commented on August 22, 2024

啥意思?服务器 ipv4 和 ipv6 都有,这个服务 ip 环境怎么检测出来的。

________________________________ 发件人: allmors @.> 发送时间: Wednesday, July 5, 2023 4:24:13 PM 收件人: Hideipnetwork/hideipnetwork-web @.> 抄送: SenLief @.>; Author @.> 主题: Re: [Hideipnetwork/hideipnetwork-web] 搜索没有反应,打开书签后台报错,v2版本 (Issue #31) 应该就 3 步吧 1. 克隆仓库 2. npm install 3. npm run start Nginx 利用 ws 反代 …
________________________________ 发件人: allmors @.> 发送时间: Tuesday, July 4, 2023 2:09:47 PM 收件人: Hideipnetwork/hideipnetwork-web @.> 抄送: SenLief @.>; Author @.> 主题: Re: [Hideipnetwork/hideipnetwork-web] 搜索没有反应,打开书签后台报错,v2版本 (Issue #31<#31>) 改了之后还是不行,仍然报这个错误 不可能的,安装教程来,看看哪部漏了 D Reply to this email directly, view it on GitHub<#31 (comment)<#31 (comment)>>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHT6YA6JHPPMSJPDHYSCGC3XOOXSXANCNFSM6AAAAAAZ4OQ7WU. You are receiving this because you authored the thread.Message ID: @.> 请检测服务IP环境 ― Reply to this email directly, view it on GitHub<#31 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHT6YA3WHRN5KQB4OFZ3XR3XOUQC3ANCNFSM6AAAAAAZ4OQ7WU. You are receiving this because you authored the thread.Message ID: @.>

必须强制使用https的

from hideipnetwork-web.

SenLief avatar SenLief commented on August 22, 2024

from hideipnetwork-web.

Naist4869 avatar Naist4869 commented on August 22, 2024

root@TCloud10656:~/hideipnetwork-web# npm run start

[email protected] start
node index.mjs

http server http://10.0.1.192:56559/
/root/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929
throw new Error('ipaddr: the address has neither IPv6 nor IPv4 format');
^

Error: ipaddr: the address has neither IPv6 nor IPv4 format
at ipaddr.parse (/root/hideipnetwork-web/node_modules/ipaddr.js/lib/ipaddr.js:929:19)
at GetAddrInfoReqWrap.callback (/root/hideipnetwork-web/node_modules/@tomphttp/bare-server-node/dist/createServer.js:35:50)

from hideipnetwork-web.

Naist4869 avatar Naist4869 commented on August 22, 2024

使用 "@tomphttp/bare-server-node": "1.2.2", 版本解决

from hideipnetwork-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.