I'm guessing that this should also be allowing me to connect to the server from a remote connection (i.e. I have also opened up my router firewall and I'm directing my global IP address to that specific network IP and port.Įxample, in my router, I've redirected TCP/UDP connections via the 49301 port to 192.168.1.102. However, this doesn't work, even if I can ping that IP address and receive an answer. What I mean by this is that I would expect that I should be able to go into google chrome on my Mac OSX and type:Īnd have everything connect properly. How do I go about connecting to my guest server (C# server) from my host box (mac osx)? Having said that, my guess is that since the guest server is running on the localhost, it's not the same as connecting it through the Windows 7 IP address. On my host machine (my mac osx), I can ping the Windows 7 virtual box connection by pinging 192.168.1.102 and I receive packets from it without a hitch. I can access the server by going to 127.0.0.1:49301/Home as well as localhost: 49301 (as expected). On my guest machine, when my C# server is running. Now I've gone into Windows Firewall and also opened up port 49301 on my guest, windows 7 setup. The :139 port are the default printer and usb ports, but nonetheless I have my actual IP in place and I can see that my C# server is there as well. After compiling my C# app and running the server, I run netstat -a -n so I can check to see what's listening: Now, when I run my guest machine, it all loads properly. I've setup the guest machine with a bridged connection via airport and I manage to get an ip connection address 192.168.1.102 I can connect to the internet and whatnot so setting up a NAT connection (to me, based on my limited knowledge) seems redundant. I'm trying to run a C# server app with a SQl database on my guest machine and connect it from my Host and from other devices like an iPhone.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |