ADB Connection Error: Unable to create debug bridge - android-studio

On starting recently fresh installed android studio bumblebee 2021.1.1 patch 2 I get an ADB running error which hereby I attach its screenshot. Please someone tell me what is the problem? I implemented all solutions given to similar cases in stackoverflow without any success.
ADB Error
ADB Connection Error
Unable to create Debug Bridge: Timed out attempting to connect to adb*
* daemon not running; stating now at tcpc5037
* daemon stated successfully
Connected to adb for device monitoring
Sending Tracking request failed!
Adb connection Error: An existing connection was forcibly closed by the remote host
Cannot reach ADB server, attempting to reconnect.

Related

How to install MongoDB Enterprise 4.4 on remote redhat server?

I followed the instructions listed here, https://docs.mongodb.com/manual/tutorial/install-mongodb-enterprise-on-red-hat/, and tried to install on a remote server from my local machine. I ssh from my local machine into the server and performed the steps for installation.
I'm not sure if there are additional steps that need to be completed or whether you have to set Directory Paths that are not the default ones since you are using a server instead of local machine. My current error is when I run mongo from my terminal and I get this error
Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused :
connect#src/mongo/shell/mongo.js:374:17
#(connect):2:6
exception: connect failed
exiting with code 1
[h699972#csc2cxp00020938 ~]$ mongo --host
sudo vim /etc/mongod.conf and setting bindIp: 0.0.0.0 did not work. Any help would be appreciated.

How to connect real device with android in windows 10

When I connect the real device to the android studio in windows 10 then get an error with 10060 error code.
I follow step this step
I goto my SDK path in a terminal.
enter command adb tcpip 5555
adb connect XXX.XXX.X.XXX:5555
this error gets after step 3.
cannot connect to **XXX.XXX.X.XXX:XXXX**(IP ADDRESS) A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because the connected host has failed to respond. (10060)

ADB connect to <IP> not working anymore or endless install process

I have a MacBook Pro 16 and Galaxy S10 combo and I used "wifi adb" over month by "WIFI ADB ULTIMATE" plugin, but once it broken and I can't connect to my device. I restarted the MB and the S10 many many times, I tried suggested solutions from other post but no final solution.
When I used "adb usb..." solution then I could connect but when I removed usb cable then I got an endless install process. I use same wifi on both devices.
$ adb kill-server && adb start-server && adb tcpip 5555 && adb connect 192.168.68.103
* daemon not running; starting now at tcp:5037
* daemon started successfully
restarting in TCP mode port: 5555
connected to 192.168.68.103:5555
For example I could connect but when I unplugged the usb cable I got this:
The android studio see the device (toolbar) but waiting for it.
So it's working only with USB cable.

Fabic: Issue connection refused 7050

I am trying to create a network from the hyperledger fabic tutorial. I get the following error:
Error: failed to create deliver client for orderer: orderer client failed to connect to localhost:7050: failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp [::1]:7050: connect: connection refused"
I opened up the port on the Centos 7 Virtual machine and still no luck. The docker container is exposing the port to the host.
I removed all docker containers, images and volumes. I even rebuilt the VM from scratch.
Any help would be great.
Thanks,
This situation is happened because you called a gRPC to orderer server but your call failed to hit the server. This situation may happen for many reasons, but for most of the cases the situation is happened due to server down(orderer server exit or down due to misconfiguration) or your call failed to hit the server due to misconfiguration.
I somehow encounter this problem before and the port was opened. Somehow it was a mistake where I forgot to put '-a' in command (launch cerificate authorities). Hope it help.
You might also refer this : https://hyperledger-fabric.readthedocs.io/en/release-2.0/build_network.html

X11 connection rejected because of wrong authentication - Running an application as root user from server

I have ssh to a server machine and I want to run an application as a root user. I'm getting the below error,
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
Unable to init server: Could not connect: Connection refused
(eog:5473): Gtk-WARNING **: cannot open display: localhost:10.0
Note:
If I ran an application as a normal user I'm could see the GUI. The server running on Debian based distro.

Resources