Closed amanjuman closed 4 years ago
To test connectivity, use the following command.
curl -x socks5h://localhost:1080 https://www.google.com/
To test connectivity, use the following command. curl -x socks5h://localhost:1080 https://www.google.com/ Issued this command in Server and got this error -
curl: (7) Failed to connect to localhost port 1080: Connection refused
as you haven't mentioned from where to try, I tried from Windows Client as well and got this.
Invoke-WebRequest : A parameter cannot be found that matches parameter name 'x'.
At line:1 char:6
+ curl -x socks5h://localhost:1080 https://www.google.com/
+ ~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Also here are listening ports -
sudo netstat -tulpn | grep LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1241/nginx: master
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 812/systemd-resolve
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1239/sshd
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1241/nginx: master
tcp 0 0 0.0.0.0:3636 0.0.0.0:* LISTEN 1004/ssr-server
tcp6 0 0 :::80 :::* LISTEN 1241/nginx: master
tcp6 0 0 :::22 :::* LISTEN 1239/sshd
tcp6 0 0 :::443 :::* LISTEN 1241/nginx: master
SSR is runing, if there is an option to check ssr log, I would attach it.
Seems it work with Firefox FoxyProxy but didn't work in by default network settings. I was thinking to use it as Global Proxy in Windows 10.
you can use Privoxy to help you.
Please answer these questions before submitting your issue. Thanks!
What version of shadowsocks-native are you using?
Latest
What operating system are you using?
Server on Ubuntu 18.04 x64 Client Windows 10 x64
What did you do?
Modified config file everything else ok.
What did you expect to see?
Should working fine.
What did you see instead?
ssr-client 2020/01/14 1:15 error junk in handshake
What is your config in detail (with all sensitive info masked)?
Server and client config file,
Nginx Config
In Windows 10, I tried
.\ssr-client.exe -c config.json
Got this,