Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should this proxy work? #1

Open
huglester opened this issue Nov 19, 2016 · 2 comments
Open

should this proxy work? #1

huglester opened this issue Nov 19, 2016 · 2 comments

Comments

@huglester
Copy link

Hello,

so I started the proxy like in the readme.
I keeps running in the CLI (on separate PC)

while I try to use the proxy, I get this:
HP Fatal error: Uncaught Serps\HttpClient\CurlClient\CurlException: Curl was unable to process the request. Error code:7. Message : "Failed to connect to IP.AD.RE.SS port 20106: Connection refused"" in /Users/huglester/Projects/valet/spider/vendor/serps/http-client-curl/src/CurlClient/Curl.php:40

I tried switching all three ports - no luck. Is there anything else I can do?

Thanks

@gsouf
Copy link
Member

gsouf commented Nov 21, 2016

Hi,

I tryed with localhost: curl -x http://localhost:20106 http://httpbin.org/ip

that should work with remote access too, if your network allows it. Did you check that the computer that runs the proxy server is reacheable from the computer that requests through the proxy?

@huglester
Copy link
Author

Hey,
strange...

maybe it is because the example runs only on ipv6 ?
tcp6 0 0 ::1:20104 :::* LISTEN
tcp6 0 0 ::1:20105 :::* LISTEN
tcp6 0 0 ::1:20106 :::* LISTEN

Because I do not see those ports in ipv4 part of netstat?

COmputer is reachable, yeah, telneting localhost 20106 - works , but from outside gives could not connect. I will try to investigate further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants