Rakesh
Rakesh

Reputation: 4334

Communicating between two win2k guest Virtual boxes

I have not worked much on virtual machines and I need some help in resolving the virtual machine problem. Here is my set up.

I am running to run a corba server on one of the win2k guest on VB1 and running a client on one of the win2k guest on VB2. On running the client I get connection refused exception. This happens only when I run the server and client on two different virtual boxes.

Upvotes: 0

Views: 187

Answers (2)

Rakesh
Rakesh

Reputation: 4334

Ok, I myself resolved the issue. The issue was with configuring the virtual machines. I had to use "Bridge Network Adapter" as a NIC card in each of the vm, earlier I was using NAT.. so this solved the problem.

Upvotes: 0

Brian Kelly
Brian Kelly

Reputation: 19295

"Connection refused" simply means that the client cannot open a TCP/IP connection to the server computer. That could be due to any of the following reasons:

  • The client is trying to connect to a server other than the one you expect
  • The server is not listening for incoming connections
  • Windows firewall is blocking incoming connections from the client
  • There is no TCP/IP connectivity between the machines at all (although it sounds like the DNS lookup happened correctly, otherwise you would have seen a "unknown host" error)

This is a networking issue, so to diagnose it you should try and increase the logging on your client to make sure it's connecting to the right host/port. If that doesn't help, increase the logging on the server to make sure it's listening on the correct port.

Also, if your CORBA application is using insecure IIOP then you could always turn on ethereal sniffing on your client box to see where it's connecting to.

Upvotes: 1

Related Questions