Giter VIP home page Giter VIP logo

Comments (12)

aogg avatar aogg commented on May 10, 2024

-p 8080

from nohost.

aogg avatar aogg commented on May 10, 2024

-p 不行

from nohost.

aogg avatar aogg commented on May 10, 2024

bash-5.1# n2 -p 8898 -o 172.17.0.2 start
[i] [email protected] started
[i] use your device to visit the following URL list, gets the IP of the URL you can access:
http://127.0.0.1:8898/
http://172.17.0.2:8898/
Note: If all the above URLs are unable to access, check the firewall settings
For help see https://nohost.pro/
bash-5.1#
bash-5.1# wget -O - http://172.17.0.2:8898/
Connecting to 172.17.0.2:8898 (172.17.0.2:8898)
wget: can't connect to remote host (172.17.0.2): Connection refused

from nohost.

aogg avatar aogg commented on May 10, 2024

wget -O - http://172.17.0.2:8898/

这个错在哪里, 127.0.0.1是可以的

from nohost.

aogg avatar aogg commented on May 10, 2024

wget -O - http://172.17.0.2:8898/

这个错在哪里, 127.0.0.1是可以的

from nohost.

aogg avatar aogg commented on May 10, 2024

wget -O - http://172.17.0.2:8898/

这个错在哪里, 127.0.0.1是可以的

from nohost.

aogg avatar aogg commented on May 10, 2024

wget -O - http://172.17.0.2:8898/

这个错在哪里, 127.0.0.1是可以的

from nohost.

aogg avatar aogg commented on May 10, 2024

bash-5.1# n2 start
[i] [email protected] started
[i] use your device to visit the following URL list, gets the IP of the URL you can access:
http://127.0.0.1:8080/
http://172.17.0.2:8080/
Note: If all the above URLs are unable to access, check the firewall settings
For help see https://nohost.pro/
bash-5.1#
bash-5.1# wget -O - http://172.17.0.2:8080/
Connecting to 172.17.0.2:8080 (172.17.0.2:8080)
writing to stdout

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
  <link rel="shortcut icon" href="favicon.ico" />

这个成功了,-p果然有bug啊

from nohost.

avwo avatar avwo commented on May 10, 2024

默认是监听所有网卡,可能172.17.0.2:8080 被占用了,或某些原因监听不上,可以试试:

n2 -p " 172.17.0.2:8898" -o 172.17.0.2 start

from nohost.

avwo avatar avwo commented on May 10, 2024

Nohost 版本可以更新下

from nohost.

aogg avatar aogg commented on May 10, 2024

image

from nohost.

aogg avatar aogg commented on May 10, 2024

估计是版本问题

from nohost.

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.