Questions tagged [loopback]

In telecommunications, loopback, or a loop, is a hardware or software method which feeds a received signal or data back to the sender.

In telecommunications, loopback, or a loop, is a hardware or software method which feeds a received signal or data back to the sender. It is used as an aid in debugging physical connection problems. As a test, many data communication devices can be configured to send specific patterns (such as all ones) on an interface and can detect the reception of this signal on the same port. This is called a loopback test and can be performed within a modem or transceiver by connecting its output to its own input. A circuit between two points in different locations may be tested by applying a test signal on the circuit in one location, and having the network device at the other location send a signal back through the circuit. If this device receives its own signal back, this proves that the circuit is functioning.

1235 questions
134
votes
4 answers

TCP loopback connection vs Unix Domain Socket performance

Working on an Android and iOS based application which require communication with a server running in the same device. Currently using TCP loopback connection for communicating with App and Server (App written in user layer, server written in C++…
Rohit
  • 6,245
  • 14
  • 49
  • 96
63
votes
1 answer

Docker on CentOS 7.2: kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1

I'm running Docker on CentOS 7, from time to time there's the following message displayed: Message from syslogd@dev-master at Mar 29 17:23:03 ... kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1 I've googled a lot, read…
shizhz
  • 9,521
  • 3
  • 33
  • 44
51
votes
6 answers

How to mount one partition from an image file that contains multiple partitions on Linux?

The image file has a partition table, and it contains multiple partitions. loopback devices might be a possibility. Related…
Atlas1j
  • 2,152
  • 2
  • 25
  • 33
31
votes
5 answers

JMeter - Loopback address error when launching jmeter-server on Linux

I'm trying to set up a distributed load testing environment using JMeter. I need to set up the remote clients using something portable like a Linux Live CD, but whenever I attempt to launch jmeter-server in Linux, I receive the following…
Syndog
  • 1,400
  • 4
  • 16
  • 24
25
votes
6 answers

What is the purpose of the Microsoft Loopback Adapter?

Just as the question says, what is the Microsoft Loopback Adapter, and as a bonus, what scenerios as a developer would it be useful? I've noticed it's been required when installing a couple of applications to my machine, but aside from guessing,…
George Johnston
  • 29,901
  • 26
  • 117
  • 169
21
votes
7 answers

MongoError: user is not allowed to do action

I am using MongoDB Atlas as my database. I am using angular4 with loopback as api. My application connects to my database fine. However, when I try to get data, I get this error (I have replaced my dbname with dbname) : MongoError: user is not…
Janpan
  • 1,726
  • 1
  • 19
  • 48
17
votes
3 answers

Linux Loopback performance with TCP_NODELAY enabled

I recently stumbled on an interesting TCP performance issue while running some performance tests that compared network performance versus loopback performance. In my case the network performance exceeded the loopback performance (1Gig network, same…
rns
  • 171
  • 1
  • 1
  • 4
16
votes
2 answers

RawCap error:"Unable to enter promiscuous mode (RCVALL_ON), using RCVALL_SOCKETLEVELONLY."

I am attempting to capture localhost(loopback 127.0.0.1) TCP traffic between master-slave (server-client) programs on my PC. Wireshark cannot do this, but I understand that RawCap does. When I try to run the program, RawCap says "Unable to enter…
16
votes
3 answers

What RegEx will match all loopback addresses?

I have an application which must warn the user upon use of localhost, 127.0.0.1, ::1, or any loopback address (the target host is used for a database-to-database connection not necessarily inside of the environment of the application). This is made…
Tullo_x86
  • 2,288
  • 24
  • 25
16
votes
1 answer

Using ADB locally on device (loopback) shows no devices

I am trying to use ADB on an Android device itself, so without any host computer. This was working perfectly a couple of days ago, but it suddenly stopped working. As far as I know nothing changed since then (e.g. no apps (un)installed). I could use…
JayShortway
  • 256
  • 3
  • 8
14
votes
4 answers

Android Emulator loopback to IIS Express does not work, but does work with Cassini

I am attempting to post data from an Android application running in the Android Emulator on my local machine to a web application running under IIS Express also running on my local machine. Unfortunately, when I post to 10.0.2.2 from the emulator I…
ahsteele
  • 25,470
  • 26
  • 131
  • 238
11
votes
3 answers

Strongloop: how do you return an error if Operation Hook fails?

How do you return an error inside an operation hook? Use case is sending a push notification after saving a new model instance. I observe the 'after save' event, send the push. If this fails for whatever reason, I want to send a 500 response code.…
user798719
  • 8,591
  • 21
  • 77
  • 114
10
votes
4 answers

How to automigrate in Loopback

I have renamed a number of models and tables in my loopback application, however I must now migrate to this model definition. I need to run autoMigrate(). It must be run on a dataSource object but the documentation provides no help regarding…
JD.
  • 1,691
  • 4
  • 20
  • 36
9
votes
5 answers

How do I have a socket accept connections only from the localhost (in Java)?

I have a java app (not running in any application container) which listens on a ServerSocket for connections. I would like it to only accept connections which come from localhost. Currently, after a connection is accepted, it checks the peer IP…
sdcoder
9
votes
1 answer

Loopback Email Connector not sending emails

I have a Loopback Application with a REST API. I want to make a REST API Enpoint /Email/sendEmail which sends an email. I did this tutorial: https://loopback.io/doc/en/lb3/Email-connector.html, but it's not working for me somehow. When I open…
BlockchainProgrammer
  • 1,333
  • 2
  • 11
  • 30
1
2 3
82 83