accessing windows localhost from a mac - windows

I have parallels installed on my mac and I have installed windows 8 as a virtual machine. I am able to run an application running on the mac localhost in windows 8 but now I would like to run a .net app on the mac (i.e. localhost:50055). I have read numerous solutions but none is working for me. What am I missing?

I just bashed my head against this for a couple of hours too and I think, in the end, the piece I was missing was turning off Windows 8's firewall.
This accepted solution is what clued me into turning off my firewall, as soon as I did that it worked.
Access Parallels Windows localhost from Mac
You'll probably have to "enable" anonymous authentication in Authentication setting in IIS Manager" too according to Matt Gibson's solution.
What I ended up doing:
Found the VM's ip address by pulling up the command prompt and typing ipconfig
Updated my Mac's host file by adding the VM's ip address (in my case it was 10.211.55.3)
Checked Parallels VM Setting -> Configure -> Hardware was set to Shared Network
Windows Firewall - turned off for Private Network Settings (Control Panel\System and Security\Windows Firewall\Customize Settings)
Checked IIS Authentication -> Anonymous Authentication is Enabled
This worked for me, hopefully it'll work for you too.

Related

Wamp Server 2.4 is not going online obstinately

I have been searching this problem about 4 hours and I got nothing in my hands.
Awkwardly, I'm a Cisco Certified Professional and nevertheless its beyond my experties.
Here is my system:
Linksys CISCO X2000 Modem + Router Combo
1x Static IP Address (212.253.77.69) [Home]
2x LAN IP Address (192.168.1.100 [My Laptop] -- 192.168.1.104 [Bridged VirtualBox Guest Adapter])
demo.webastian.ch [Amazon EC2] --> pointed to 212.253.77.69 [Home]
On My Laptop:
I have a fresh installed "Wampserver (64 bits & PHP 5.4) 2.4"
Windows 8 Professional 64-bit (x64)
Windows Firewall Private/Public off state.
Network Card: 192.168.1.100
I used Demilitarized Zone (DMZ) to route every incoming IP to 192.168.1.100 and even tried to turn off the built-in firewall of CISCO (but not even close to solution), so I don't have to open ports anymore or forward anything through my router.
When you try http://demo.webastian.ch at the moment, you will be penetrating 192.168.1.100:80 of my Local Network.
I did put online the Wamp Server by left clicking to the tray icon.
I can access my web server by:
127.0.0.1
localhost
demo.webastian.ch (I did change the hosts file of windows and set this dns record to 127.0.0.1)
192.168.1.100 (on my laptop and on my iphone)
But I can not reach my web server remotely. (I tried through Edge/3G and my friends computer using teamviewer.)
So I thought it was a windows related problem but it wasnt. Therefore I installed VirtualBox and Server 2003. I used the same configurations except routing the public ip to x.104
I tried modding the httpd.conf, I tried several things that I don't remember each of it (that much) but no response.
On VMBox (Through My Laptop):
I have a fresh installed "Wampserver (32 bits & PHP 5.4) 2.4"
Windows Server 2003 Enterprise R2 32-bit (x86)
Windows Firewall off state.
Network Card: 192.168.1.104
.NET Framework 3.5 SP1 (had to install or wampmanager wont start)
I got a dead end & I'd like to hear some other thoughts.
Thank you in advance!
Please see this handy info on fixing some of WAMP 2.5's little hiccups.
WAMPServer 2.5 release notes and corrections
Your problem is that the script that executed that request ( c:\wamp\scripts\onlineOffline.php ) somehow got released in UNIX format. The above doc tells you how to fix this.

Windows Phone SDK Paradox: "Xde couldn't find an IPv4 address.." and "The emulator couldn't determine the host's IP address..."

A few useful pieces of information: I'm running Windows 8 Professional on a custom-built rig, and I am using a 'WiFi dongle' to connect my computer to the local router. I am using a home network, not a public/work/school network.
I installed the Windows Phone SDK. Piece of strawberry cheesecake so far. Coded my first simple browser app (as detailed on the Windows Phone Dev site) and hit the Run button, expecting my app to come to life and breathe in links and breathe out websites!
But instead, I got this:
Something happened while creating a switch:
Xde couldn't find an IPv4 address for the host machine.
In this case, the emulator wouldn't run at all. And so, I did my research and found out that the solution was this:
Remove all the switches from Hyper-V Manager's "Virtual Switch Manager", and make a new Internal one called Windows Phone Emulator Internal Switch.
I did, and the error did NOT show up again but it did screw up my WiFi and Bluetooth adapters (which I had to do a system restore to solve) and now both WiFi and Bluetooth peripherals are working again.
However, I got this error instead when running the emulator again:
The Windows Phone Emulator wasn't able to connect to the Windows
Phone operating system:
The emulator couldn't determine the host IP address, which is used to
communicate with the guest virtual machine.
Some functionality may be disabled.
In this case, the emulator did run, but I couldn't find my app anywhere. I did some research again and found that the solution to this was:
Delete the Windows Phone Emulator Internal Switch from Hyper-V Manager's Virtual Switch Manager.
Now, I created the switch to solve the problem in the first place. But I did delete it, for the heck of trying everything out. And no surprise there but, it went back to the first error.
I am now stuck in this paradox and have no idea how to escape it.
Thank you in advance!
follow the following steps to solve this problem
1.go to network and sharing center
2.go to change adapter setting
3.go to v Ethernet (internal Ethernet port windows phone emulator internal switch)
4.right click it and enable it(if already enabled then disable and enable it again).
Remove any Cisco VPN's or similar connections. I have found this VPN client works as a replacement to Cisco https://www.shrew.net/
For me shrew soft version 2.1.7 was the only version that worked.

Make IIS website public (to the network) from within Parallels

I've got Parallels running on my Macbook Pro and I'm developing a small application that needs to be run exclusively on mobile devices (using sencha touch).
The problem is that my Windows 7 IP address in Parallels is 10.211.55.0/24 and our local network is 192.168.1.0/24
Accessing the IIS application via Firefox or IE is not acceptable since I need to test on the iPad and iPhone.
Does anyone know how to expose IIS applications to the network from within a Parallels VM?
Forget I ever asked such a stupid question.
I simply had to put my VM in Bridge mode rather than Shared Network
I was looking in the wrong place (Parallels config rather than VM config)

How to share Ubuntu's XAMPP installation with Windows 7 running on vmWare Workstation within Ubuntu

I am running Ubuntu 10.10 and also Windows 7 under vmWare Workstation within Ubuntu.
My internet connection in vmWare is shared from the host as 'NAT'
I am using XAMPP on Ubuntu for developing sites. I use http://localhost/mysite to open the site under development in Ubuntu.
I wanted to use a similar command to open these sites in the Windows 7 installation under vmWare.
While browsing some of the topics I came to know that it is possible by using some IP of 'NAT'.
I am totally new to Linux and vmWare both. Just migrated to Linux from Windows and need help understanding it in detail.
Kindly help me with the process of How to access these sites in vmWare.
Please help.
VMWare's installer should set up a new network interface on your Ubuntu system, check ifconfig -a to find its IP address.
Make sure your webserver is listening on either 0.0.0.0 OR (127.0.0.1 AND the vmware-interface IP address).
From the Windows system, try typing in http://<vmware-interface-ip>/mysite. Hopefully it'll go. You can check the windows networking control panels to see what the gateway address is, it'll probably match.
I hope this gets it going for you.

How to use the IIS server in a VM on Mac host?

I need to access my http://localhost/ (in IIS 6 on VM) from the MAC Host (Safari).
I am using NAT (or can use Bridged) network connection to the Guest, but not sure how to identify IP addresses, etc. A novice when it comes to networking ;-)
Thanks,
Geoff
A simple solution if you want a consistent hostname is to install Bonjour for Windows in the VM with bridged networking and then use http://computername.local in Safari.
It's possible to forward ports from a NATed VM too or ensure a consistent IP address if you want; some instructions are here.
In Safari, you should be able to type in the IP address of your VM and be able to access IIS that way. Firewall settings permitting of course, but I assume you've set that up already.
If it doesn't work, could you please post more details about your current setup (VM software being used to run the guest, OS X version, Windows version) and I'm sure we'll be able to troubleshoot further.
Just try to off Windows firewall on your virtual machine. This works for me in NAT mode.
Also, as mantioned before, is nice to have Bonjour for Windows installed to have more useful URL.

Resources