Git Product home page Git Product logo

Comments (8)

wuchangming avatar wuchangming commented on July 20, 2024 1

@horsesuper
host的问题已经在3.5.1版本修复

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

你本机的浏览器不配置host能不能访问线上呢?

from spy-debugger.

horsesuper avatar horsesuper commented on July 20, 2024

可以的,浏览器没有问题,手机挂代理后必须加上host

127.0.0.1	localhost
255.255.255.255	broadcasthost
::1             localhost 

才可以正常

不然会报错:

{ [Error: getaddrinfo ENOTFOUND localhost localhost:62223]
  code: 'ENOTFOUND',
  errno: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'localhost',
  host: 'localhost',
  port: '62223' }

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

这个问题我研究下。
后面找时间优化下,把内部指向localhost的域名都改成127.0.0.1

from spy-debugger.

horsesuper avatar horsesuper commented on July 20, 2024

(b~_^)b ,东西做的真不错,我推荐给好几个人用了,有个小建议,目前 启动服务后 显示的是:

node-mitmproxy启动端口: 9888
浏览器打开 ---> http://127.0.0.1:62226

常常是不知道自己的ip 的,还需要在电脑里找一下。能不能 控制台输出的时候把本机ip 也一起打印上,这样比较一目了然。

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

嗯嗯,谢谢你的建议。
现在有计划过年的时候找时间重构一下。

你这个建议不错,我会加上的。感谢! :)

from spy-debugger.

wuchangming avatar wuchangming commented on July 20, 2024

@horsesuper ,ip提示已在3.2.2版本加上

image

from spy-debugger.

horsesuper avatar horsesuper commented on July 20, 2024

太棒了

from spy-debugger.

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.