Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (seongtaejeong at gmail.com)
홈페이지
첨부 파일
 

(시리즈 글이 2개 있습니다.)
오류 유형: 566. 비주얼 스튜디오 - Failed to register URL "http://localhost:6879/" for site "..." application "/". Error description: Access is denied. (0x80070005)
; https://www.sysnet.pe.kr/2/0/12017

오류 유형: 903. IISExpress - Failed to register URL "..." for site "..." application "/". Error description: Cannot create a file when that file already exists. (0x800700b7)
; https://www.sysnet.pe.kr/2/0/13621




IISExpress - Failed to register URL "..." for site "..." application "/". Error description: Cannot create a file when that file already exists. (0x800700b7)

applicationhost.config 파일에서 bindingInformation을 다음과 같이 포트를 바꿨더니,

<site name="TestWebSite" id="59">
    <application path="/" applicationPool="Clr4IntegratedAppPool">
        <virtualDirectory path="/" physicalPath="C:\temp\TestWebSite" />
    </application>
    <bindings>
        <binding protocol="http" bindingInformation="*:18092:" />
    </bindings>
</site>

이후 다음과 같은 오류가 발생합니다.

Failed to register URL "http://*:18092/" for site "TestWebSite" application "/". Error description: Cannot create a file when that file already exists. (0x800700b7)

위의 내용으로는 왠지 18092 포트가 이미 사용 중이라는 의미 같은데요, 일단은 현재 실행 중인 다른 프로세스에는 없습니다.

C:\Windows\System32> netstat -ano | findstr 18092

대신, 별도로 팝업 창으로 뜨는 IIS Express 알림에서 보다 더 자세한 오류를 알려주는데요,

Port '18092' is reserved by URL ': https://:18092/'.

그러니까, "https"로 이미 점유돼 있다는 것입니다. 이 사실은 netsh 명령어로 확인할 수 있으니,

C:\Windows\System32> netsh http show urlacl | findstr 18092
    Reserved URL            : https://*:18092/

저걸 지워 http 바인딩으로 다시 등록하든가,

// 삭제 후,
netsh http delete urlacl ur=https://*:18092/

// http로 재등록
netsh http add urlacl url=http://*:18092/ user=testusr

아니면 다른 포트를 사용하시면 됩니다. ^^




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 6/8/2024]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 166  167  168  169  170  171  172  173  174  175  [176]  177  178  179  180  ...
NoWriterDateCnt.TitleFile(s)
605정성태10/18/200825500.NET Framework: 105. WPF - 닫기 버튼을 없애려면.
604정성태10/18/200825988오류 유형: 60. System.Management.ManagementException - Generic failure [1]
602정성태10/15/200827990오류 유형: 59. WPF - XAML 로딩 시 Visual Studio 비정상 종료 [1]
600정성태10/9/200832768디버깅 기술: 18. TFS Team Build + Source Server = 소스 코드 디버깅 [3]
603정성태10/15/200824600    답변글 디버깅 기술: 18.1. 소스 서버 구성, 그 외의 이야기
599정성태10/5/200830443디버깅 기술: 17. TFS Team Build + Symbol Server [1]
598정성태10/3/200820460VS.NET IDE: 57. VS.NET 2008 - 다중 프로젝트에서 단일 SNK를 사용하는 방법
597정성태10/2/200819135Team Foundation Server: 25. VSTS 2008의 Build Explorer
596정성태10/2/200825851오류 유형: 58. WPF : 드롭다운 유형의 ComboBox가 펼쳐지지 않는 문제
595정성태10/1/200833475디버깅 기술: 16. Watson Bucket 정보를 이용한 CLR 응용 프로그램 예외 분석 [2]
594정성태9/22/200821432.NET Framework: 104. Win32Exception 클래스 소개
591정성태7/24/200818197오류 유형: 57. VS.NET 2008 TFC - 체크인 시에 비프 음과 함께 정지되는 현상
592정성태7/28/200818206    답변글 오류 유형: 57.1. VS.NET 2008 TFC - 체크인 시에 비프 음과 함께 정지되는 현상 [1]
590정성태7/20/200824055.NET Framework: 103. WPF - ControlTemplate을 코드에서 다뤄보기 [1]
589정성태6/17/200820740.NET Framework: 102. COM 개체의 이벤트를 구독하는 코드 제작 [1]
588정성태6/13/200822645VC++: 35. COM 이벤트에서 반환값을 가진 콜백 정의
587정성태6/10/200827391VS.NET IDE: 56. C#에서 아쉬운 __DATE__, __TIME__ 매크로 [2]
586정성태6/4/200825054오류 유형: 56. WPF 디자이너 - The string was not recognized as a valid DateTime [2]
585정성태6/4/200833172.NET Framework: 101. WPF - ActiveX 컨트롤 호스팅하는 방법 [2]
582정성태5/16/200824978오류 유형: 55. Windowless ActiveX controls are not supported
580정성태4/24/200824143VC++: 34. 64비트 윈도우즈에서의 이벤트 후킹
579정성태4/24/200823986VC++: 33. 변환 후의 RGS 파일 내용을 얻는 방법
577정성태4/16/200824887.NET Framework: 100. XML Serializer를 이용한 값 복사 [5]
575정성태4/7/200822043오류 유형: 54. TFS Source Control - 명령을 사용할 수 없음 [2]
574정성태3/31/200820277오류 유형: 53. TFS 연결 오류 - The workspace [...] exists on computer [...]
573정성태3/25/200824032Windows: 31. TS Web Access와 UAC [1]
... 166  167  168  169  170  171  172  173  174  175  [176]  177  178  179  180  ...