Can not connect to TCP socket server port on Windows virtual machine

GrahamBriggs

Bit poster
I am running parallels desktop 8 on a mac with a windows 8 virtual machine.

I am unable to connect to a TCPIP socket server program running on my windows 8 virtual machine from any outside machine.

I have the firewall on the windows machine and the mac turned off.

I have tested the server program with a simple client program running on the windows machine, and I can connect to the server program from the client program on the loopback port 127.0.0.1

However, I can not connect to the server program from any other machine. I have tested it by running my simple client program on the same mac, as well as on an external android device.

I have tried both shared network with port forwarding as well as bridged network (both default adapter and ethernet).

I have read these three forum posts, which appear to describe similar problems:

http://superuser.com/questions/30917/how-to-make-a-port-forward-in-mac-os-x

http://forum.parallels.com/showthread.php?100707-TCP-IP-settings

http://stackoverflow.com/questions/2673595/access-parallels-windows-localhost-from-mac

However, I am still stuck, and I can not seem to get a client on any outside machine connected to the server program running on the the windows 8 virtual machine.

Any help would be greatly appreciated
 
Has anyone solved this problem? I have essentially the same problem. The citations in the original GrahamBriggs post seem not to have had success either.
I am building a client-server application whose backend runs on Smalltalk Express on Windows XP. (This is a 1990s-vintage 16-bit Windows app that runs fine in Windows XP on Parallels Desktop.) Using a Winsock extension to Smalltalk ("Socktalk") it is listening on 0.0.0.0 with a modified echo (port 7) server socket. (This is confirmed with netstat -an in Windows.) (I hijacked port 7 for this purpose to take advantage of existing Socktalk classes.)
The port 7 client is a little Python cgi program running in Apache 2 on the Mac. (The Mac is a maxed-out current Mac mini running Parallels Desktop 11.)
The Apache logs consistently say that the Python cgi program is issuing the connection request but the connection is refused. I have tried all 3 network adapters in Parallels but cannot find a way for the Mac client to communicate with the Windows server.
I need to find a way to solve this problem or to come up with a completely different approach to communication between the Mac and Windows that does not use sockets.
My motive for this setup is explained in
.
Thanks in advance to anyone who can shed light on this issue.
 
Back
Top