HaPpY hApPy

Visual studio로 실행한 웹사이트에 다른 컴퓨터에서 접속하기. 본문

.NET/Asp.Net Mvc

Visual studio로 실행한 웹사이트에 다른 컴퓨터에서 접속하기.

juniguya 2016. 7. 27. 01:42

1. 다른 컴퓨터에서 개발중인 Visual studio web 사이트에 접속하는방법!


솔루션 폴더아래 /.vs/config 폴더에 있는 applicationhost.config 열어서



아래와 같이 되어있는 부분에 

<bindings>

                    <binding protocol="http" bindingInformation="*:6241:localhost" />

</bindings>

localhost 대신 ip를 넣어주는 코드를 한줄 더 넣어주면됨.

<bindings>

                    <binding protocol="http" bindingInformation="*:6241:localhost" />

                    <binding protocol="http" bindingInformation="*:6241:192.168.254.77" />

</bindings>