You are not logged in.
Pages: 1
Hi,
I am afraid that my University requires me to develope my code on Windows,
thus I have to code using Visual C++ (ouch) on a VirtualBoxed WinXP.
Problem is, when trying to build a simple client-server program, where the client
should connect to the server, say on port 12345, the sockets can't connect.
On a native windows on the same computer everything works OK.
Should I open the required ports on Linux?
On VirtualBox?
Thanks
fiod
Offline
Yes to both.
Offline
I can't offer much help here other than this usually depends on how the VirtualBox network interface is configured, depending on how it is configured you may not be able to access ports on it at all, this is also why ping won't work at all in some cases.
Offline
depending on how it is configured you may not be able to access ports on it at all, this is also why ping won't work at all in some cases.
They recently overhauled their networking stuff. I think it was with 2.1, I don't remember all the specifics but the networking stuff should now be more flexible/usable and the ping problem is fixed.
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Yes to both.
Thanks to all for the replies.
Can you offer some information as to how?
Offline
you may want to enable your network adapter as pass through instead of NAT...should clear things up as your VM will be treated as a standalone computer by the outside world...
good luck
Offline
.
Last edited by fumbles (2020-09-26 11:52:08)
Offline
fiod wrote:fumbles wrote:Yes to both.
Thanks to all for the replies.
Can you offer some information as to how?
You shouldn't use NAT. Select host interface.
derp! i said pass through thinking in VM terms....i meant to say set it to "host interface" or whatever the exact title of that option is. but yeah, get off NAT and you should be a bit better....
Offline
Pages: 1