GithubHelp home page GithubHelp logo

run error about proxypool HOT 6 CLOSED

DamonGG avatar DamonGG commented on July 19, 2024
run error

from proxypool.

Comments (6)

henson avatar henson commented on July 19, 2024

panic: Post http://localhost:2015: dial tcp 127.0.0.1:2015: getsockopt: connection refused
Error: Could not create web server listening on port 2016
Error: Could not create web server listening on port 2017

是不是端口号冲突了,还是装了防火墙什么的限制了,phantomjs 未能正常运行

from proxypool.

DamonGG avatar DamonGG commented on July 19, 2024

在main.go中将那几个有phantomjs的getter注释掉就没问题

55		// getter.KDL,
57		//getter.Xici,
58		//getter.XDL,

那么尝试换下端口呢:
vim getter/xdl.go

fetcher, err := phantomjs.NewFetcher(xxxxxx, nil)

go clean
go build
./ProxyPool 
依然不行:
Error: Could not create web server listening on port 2017
Error: Could not create web server listening on port 2015

重新编译,执行。端口并未更改,还是原来老样子。看了看 找不出哪里的bug

from proxypool.

henson avatar henson commented on July 19, 2024

getter.KDL,
getter.Xici,
getter.XDL,

对应2015~2017三个端口,你只改了2016

from proxypool.

DamonGG avatar DamonGG commented on July 19, 2024

三个文件都改了,重新build, 端口依然是2015 2016 2017 没有任何变化

from proxypool.

henson avatar henson commented on July 19, 2024

不可能的,你再仔细检查检查

from proxypool.

DamonGG avatar DamonGG commented on July 19, 2024

忘了回了。。
找到原因了,我是git clone安装的,然而在clone的目录下run跑的是
/env/go/src/github.com/henson/ProxyPool 目录下的代码

初识Go 慢慢学习中 anyway thanks your repos :)

from proxypool.

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.