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

Connection refused #10

Open
fuckwbored opened this issue Jul 18, 2021 · 5 comments
Open

Connection refused #10

fuckwbored opened this issue Jul 18, 2021 · 5 comments

Comments

@fuckwbored
Copy link

Hey! I used shodan to find target device. When i try to connect i have an error:
connection refused

Can you help me please?

@Omicron166
Copy link

try to connect using shell adb, if it also doesn't work then the problem is that it is not an adb port

@Temuxuser2021
Copy link

Enter the phone IP address to connect
└──> adbsploit(connect) > ............
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbutils-0.11.0-py3.10.egg/adbutils/init.py", line 103, in _safe_connect
return self._create_socket()
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbutils-0.11.0-py3.10.egg/adbutils/init.py", line 95, in _create_socket
s.connect((adb_host, adb_port))
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/adbsploit", line 33, in
sys.exit(load_entry_point('adbsploit==0.1', 'console_scripts', 'adbsploit')())
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbsploit-0.1-py3.10.egg/adbsploit/adbsploit.py", line 37, in main
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbsploit-0.1-py3.10.egg/adbsploit/adbsploit.py", line 45, in main
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbsploit-0.1-py3.10.egg/adbsploit/adbsploit.py", line 235, in connect
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbutils-0.11.0-py3.10.egg/adbutils/init.py", line 263, in connect
with self._connect(timeout=timeout) as c:
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbutils-0.11.0-py3.10.egg/adbutils/init.py", line 189, in _connect
_conn = _AdbStreamConnection(self.__host, self.__port)
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbutils-0.11.0-py3.10.egg/adbutils/init.py", line 88, in init
self.__conn = self._safe_connect()
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbutils-0.11.0-py3.10.egg/adbutils/init.py", line 106, in _safe_connect
return self._create_socket()
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/adbutils-0.11.0-py3.10.egg/adbutils/init.py", line 95, in _create_socket
s.connect((adb_host, adb_port))
ConnectionRefusedError: [Errno 111] Connection refused

@Omicron166
Copy link

Either you don't have access to the device, or the port is closed

@ChillVibesMushroom
Copy link

Hey! I used shodan to find target device. When i try to connect i have an error: connection refused

Can you help me please?

Do you still need help some things to try are

pinging the device

looking into adb --help shows you the list of commands that you can use in order to set yourself up for success.

@ChillVibesMushroom
Copy link

ChillVibesMushroom commented Feb 13, 2022

EDIT: this works there are no issues.

Either you don't have access to the device, or the port is closed

Yo. If I am using adb over lan and I can connect via my ipv4:5555 by using adbtools why would I not be able to connect with the tool?.

How would I go about being able to connect using the tool. I know that I can disconnect from my ipv4:5555 and the adbridge will still send a signal So. that I can reconnect anytime, but for some reason I get connection refused from the tool. hahaha.

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

4 participants