mac
/etc/hosts 파일을 보면 mac의 host name 이 psf 혹은 windows로 되어 있음을 확인
Parallels내 Windows
iis express을 설정하기 위해서 해당 프로젝트\.vs\config\applicationhost.config 파일을 열어서
1 2 3 4 5 6 7 8 |
<site name="web" id="3"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="D:\_SVN\/> </application> <bindings> <binding protocol="http" bindingInformation="*:53351:localhost" /> </bindings> </site> |
1 2 3 4 5 6 7 8 |
<site name="web" id="3"> <application path="/" applicationPool="Clr4IntegratedAppPool"> <virtualDirectory path="/" physicalPath="D:\_SVN\/> </application> <bindings> <binding protocol="http" bindingInformation="*:53351:windows-10" /> </bindings> </site> |
로 바인딩 될 아이피를 hosts에 windows의 ip (127.0.0.1)로 변경
Parallels내 Windows administrator권한의 CMD iis express 에서 urlacl 와 방화벽 open
1 2 |
netsh http add urlacl url=http://windows-10:53351/ user=everyone netsh advfirewall firewall add rule name="IISExpressWeb" dir=in protocol=tcp localport=53351 remoteip=any action=allow |
mac 의 AndroidStudio
1 |
WebView.loadUrl("http://windows-10:53351") |
P.S. visualstudio의 iis express를 […]