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 and rejects it if it is not the loopback address, but I know that peer IP addresses can be s...
Why is it that TCP connections to a loopback interface end up in TIME_WAIT (socket closed with SO_DONTLINGER set), but identical connections to a different host do not end up in TIME_WAIT (they are reset/destroyed immediately)?
Here are scenarios to illustrate:
(A) Two applications, a client and a server, are both running on the same ...
Recently I installed Oracle and the required Microsoft Loopback Adaptor, which worked fine. However, this seems to have screwed up IIS (or at least its interaction with Visual Studio) somehow. I can't connect to localhost or 127.0.0.1 anymore, and I can't even open a web project in Visual Studio 2008 (which used to work fine), getting th...
Hey,
I've been asked to activate a certain piece of code if i was in my college. So I need to find the iP of where i am to match to my colleges iP. Was wonderng how to do this in java? I have already tried a loop back interface.
...
Is there any new/better way of loopback mounting individual partitions from within a file that contains a partition table on linux? I see the following but they are somewhat dated.
http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-01/7183.html
http://lists.gnu.org/archive/html/grub-devel/2005-01/msg00077.html
ftp://ftp.hq.nasa.gov...
Hi there
I m using windows 7 prof. and i want to run my web project but url modife to www.localhost.com
if use http://127.0.0.1:2710/default.aspx it working. i checked host file which in the C:\Windows\System32\Drivers\Etc\hosts. i deleted that rows :
# 127.0.0.1 localhost
# ::1 localhost
but anything changes. h...
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, I've never have had a sturdy understanding of it's functionality.
I've read a couple of arti...
Hello, all.
Currently I need to develop some program that will communicate with cisco devices over serial line. I want to build testing environment on my development linux machine. So, I found dynamips cisco emulator. This emulator can provide interface via serial line with '-U /dev/ttyS0' option. Well, this causes dynamips to open hard...
i have a daemon program which listens on 127.0.0.1:8000.
i need to access it when i connect to my box with vpn.
so i want it to listen on the ppp0 interface too.
i've tried the "ssh -L" method. it works, but i don't think it's the right way to do that, having an extra ssh process running in the background.
i tried the "netcat" method....
I have an ASP.NET project (VS2008 on Windows 7 with either webforms, MVC1, or MVC2 -- all the same result for me) which is just the File->New hello world web project. It's using the default ASP.NET development server, and when I start the server with F5, the browser never connects and I get a timeout. I tried to debug this by telnettin...
Hello
I have a comp with 2 eth cards, connected with patch-cord (direct eth. cable from 1st to 2nd).
The linux is installed, I want to send data from 1st network card to 2nd. And I want to force the packet to pass via cable. I can set up any ip on cards.
With ping I get counters on cards constant.
Is it possible with tcp/ip sockets?
...
I've got an app that needs to transmit and receive on the same port. This can happen in two cases:
Where the PC is talking to a piece of remote hardware. It "replies to sender", so the datagrams come back in to my PC via the sending port.
Where the PC is talking to itself (loopback mode) for testing and demoing (a test app feeds fake d...
Hi All,
I have configured a centos 5.4 virtual box to run the liferay portal manager on a Glassfish v2.1 application server. Even though this is not recommended I gave glassfish root privileges and am allowing to listen on port 80.(I did this because of a nightmarish experience with mod_jk although the behavior that was frustrating there...
Hey all,
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 error...
Created remote object: UnicastServerRef [liveRef: [endpoint:[127.0.0.1:49018](lo...
I want my OS X app to share files via the loopback device. I want to do this so that my app can make a directory of frequently changing, read only files available to the user without messing with the users home directory. The files will be severed from the Application Support directory but the user will not have to concern themselves wit...
We have a networking application that can run from a service account as well as a regular user's account. The app tries to open up a loopback connection to another service running on the local machine. So for example it tries to connect to: 127.0.0.1 port 2000.
On a very small number of Windows machines we're seeing an issue where tryin...
Is there a way to run a loopback JMS adapter that will only be detected locally?
I'm not sure if my terminology is correct, but I want the ActiveMQ broker to only be connectible from the same machine that the broker is running on.
...
Hi all,
I have a serial device set up as loopback (meaning it will simply echo back any character it receives), and I'd like to measure effective throughput speed. For this, I hoped I could use time, as in
time bash -c '...'
where '...' would be some command I could run.
Now, the first problem is that I want to use the device at 2...
Hello all,
I would like to install a virtual NIC (like the Microsoft Loopback Adapter) which is accessible from the lan.
Very similar in concept to what vmware player does (in the sense that its virtualised network adapter looks like it's physically plugged into the lan).
Thankyou,
Fidel
p.s. I know it's possible to bind multiple IP ...
I have 2 VM's, A and B, running Red Hat EL 4.5, on a host machine running Windows XP.
A's ip is 192.168.1.100
B's ip is 172.16.1.100
I have setup 2 virtual networks on Microsoft Loopback Adapter
192.168.1.1 with subnet mask 255.255.255.0
172.16.1.1 with subnet mask 255.255.0.0
I am trying to SSH from A to B:
user@B ~ # ssh 172.16....