Not able to connect to dante socks 5 proxy server - android

hi i have installed the Dante proxy in remote server and trying to connect to in but connection itself is getting failed. Also there is no logs printed in the server.
I have used this socks5 client to connect to the server by giving the server ip address with 9050 port
and applied the fixes suggested in this but no luck
can anyone please help me to identify the issue where i am went wrong to make it successful

Hi I found answer for myself. This is the issue with authentication and firewall issue.
Thanks to buddy for creating this with clear steps and explanation

Related

How to connect an android app running on a device connected via ADB to hit REST API on local server?

I have a multi-tenant web app like
http://xxxxx.constant-domain.com:8080/
in my host file
127.0.0.1 xxxxx.constant-domain.com
The device that has the android app running is connected via ADB which calls my webapp's Rest Apis to get and send data and
It runs fine on dev and prod environments like
http://xxxxx.dev.constant-domain.com/get-data
but the problem is I want to debug it on my local server. I tried adding the given domain as base url but it doesn't work.
I tried adding http://localhost:8080/ as well but it doesn't work.
I tried looking for questions here but didn't find anything that would help.
I'm using retrofit for Api calls.
Any help would be appreciated.
First of all, make sure that your local server and your device are using a same wifi. And then find out the option to put your local server online. There is an option in Wamp Server to put it online. I don't know which software you are using to setup apache or any kind of server on your computer.
And then you will be able to access your local server by ip address. Also there is an option to edit virtual hosts of your server to allocate a specific port that the app can connect.
It doesn't matter whether you use Retrofit or Volley or Okhttp or any other things. You need to setup your local server to be online within your local network.
I figured it out. All I needed to do was to set my private Ip as
http://192.168.8.400:8080/get-data
Hope this helps anyone who is in this situation.

Openfire Server XMPP setup on windows 7

I want to build an Android application using XMPP protocol for sharing real-time data. For this, first of all, I have to setup XMPP Server and best server to use is Openfire. I tried to install this server on my Windows PC, but unable to setup correctly.
This is the download link https://www.igniterealtime.org/projects/openfire/ from where I have downloaded the Openfire.exe file. After Installation it opens a browser window with URL=http://localhost:9090/ but the page shows "This site can’t be reached localhost refused to connect. Search Google for localhost 9090 ERR_CONNECTION_REFUSED"
Can anyone help me to resolve this issue or suggest me the installation procedure? Also if you have any other suggestion to use another XMPP server kindly let me now. I want to transfer data in real-time from one Android device to another.
Thank you for reading my post and replying back.

Android Emulator: can't connect to server

I'm newbie in Android development so forgive me for a banal question
I'm in this situation: I have a server locate on IP address 192.168.11.188; this server sends a JMS message by using MQTT protocol
On my laptop I'm using paho as MQTT messages consumer
I'm building an Android app and I test it by using the emulator
I have the following problem: if i test everything in local by configuring the APP to connect to the JMS server on my laptop and specifying the IP address 10.0.2.2 all works pretty good
When i configure the APP in order to connect to the server on IP address 192.168.11.188 it can't connect (I tried by using telnet and I can confirm that server is alive and active)
Moreover in the sent MQTT message I have a URL that points to a my site. The URL is like: http://192.168.11.188:8080/.....
Well inside the emulator i can't open the URL; I get the error "net::ERR_CONNECTION_REFUSED" (but I'm sure the server is active)
I attach an image showing the error
I'm struggling on this problem from some days...
I'm sure I'm missing something but I can't figure what I'm missing
How can I configure correctly the emulator in order to connect to the server on the the IP 192.168.11.188 and open web pages always from this IP?
thank you
Angelo

Android GCM Unauthorized 401 error with PHP

Recently my GCM push message notification didn't work anymore.
I didn't change anything, in my Google API Console, I've registred the IPV6 of my dedicated server if the whitelist IP address.
But when I try to reach GCM service I always get an error :
Unauthorized
Error 401
Also tried with IPV4 without success...
I've tried the same script on my own computer and everything works smooth ...
Any idea would be very appreciate :)
Thanks for your help
You need to put the server IP address in the whitelist ip addresses in google api console for GCM.
Edit:
you must use Key for server apps (with IP locking) instead of browser key.
i have had the same issue for 1 whole day ! but silly me...
in your Dev console>APIs & auth > make sure your "google cloud messaging for android" is ON !
That was my mistake.
And also first test by allowing all IPs.
I had the same issue. What resolved it for me was registering my public ip, waiting for a few minutes and then refreshing the google api console page.
I had the same problem and ended up adding "0::0/0" to my whitelist ip addresses. This fixed the problem for me. Though a better solution would be to get a real IPV6 to use for the server.

Unable to connect to Google API from server (401: Unauthorized)

I've migrated a web application that sends push notifications to Android apps using Google Cloud Messaging from my local workstation to a server.
Connecting to https://android.googleapis.com/gcm/send worked perfectly from my workstation. My list of allowed IPs in my Google API project includes my server's IP (and I've triple checked it), but when I connect using the exact same API key from the server, I am always getting a 401 (unauthorized) response back from Google.
I am connecting from a Linode VPS, and when I wget the same URL, I can see that it is going over IPV6. I've copied my server's IPV6 address from http://whatismyv6.com/ and also included that in the list of allowed IPs, but still I'm still only getting 401 responses.
My guess is it's related to IPV6, so I'll go ahead and try to force connecting over IPV4- but I'm curious about whether anyone else has experienced this.
Interesting. It suddenly just started working. Out of curiosity, I removed my IPV6 address, tried again and it failed. Then after adding it back, it failed a few times before started working again.
It seems that it may just take a little while for Google to accept the IPV6 address?
I guess I'll leave this question / answer though, in case anyone else experiences it. Make sure your server's IPV6 address is in the allowed list, then just go refill your coffee and try again later.

Categories

Resources