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

비밀번호

댓글 작성자
 




... 151  152  153  154  155  156  157  158  159  160  161  162  163  164  [165]  ...
NoWriterDateCnt.TitleFile(s)
922정성태9/4/201036451오류 유형: 106. Hyper-V 가상 머신의 네트워크 끊김 현상
921정성태9/2/201030434DDK: 2. Device Driver 응용 프로그램의 빌드 스크립트 [2]파일 다운로드1
920정성태9/1/201034968오류 유형: 105. WMI - The RPC server is unavailable [2]
919정성태8/30/201041070DDK: 1. Visual Studio 2010 - Device Driver 제작- Hello World 예제 [3]파일 다운로드1
918정성태8/28/201027152개발 환경 구성: 87. Hyper-V의 네트워크 유형 (3)
917정성태8/26/201022150개발 환경 구성: 86. "Routing and Remote Access"의 "Routing" 기능 활성화 방법
916정성태8/25/201021474개발 환경 구성: 85. 가상 네트워크에 LAN 어댑터 보이거나 감추는 방법
915정성태8/24/201039620개발 환경 구성: 84. Hyper-V의 네트워크 유형 (2)
913정성태8/22/201028712오류 유형: 104. Hyper-V 관리자 - VM 생성 오류 (VHD 생성 오류)
912정성태8/20/201030577.NET Framework: 183. 구조체 포인터 인자에 대한 P/Invoke 정의파일 다운로드1
911정성태8/19/201027463오류 유형: 103. System.Reflection.TargetException파일 다운로드1
910정성태8/19/201038314개발 환경 구성: 83. Hyper-V의 네트워크 유형 (1)
909정성태8/18/201033686오류 유형: 102. System.MissingMethodException
908정성태8/17/201024653개발 환경 구성: 82. Windows Virtual PC의 네트워크 유형 (3)
907정성태8/14/201022185개발 환경 구성: 81. Windows Virtual PC의 네트워크 유형 (2)
906정성태8/13/201030890개발 환경 구성: 80. Windows Virtual PC의 네트워크 유형 (1)
905정성태8/8/201033202Team Foundation Server: 39. 배치 파일로 팀 빌드 구성 [2]파일 다운로드1
904정성태8/8/201035931오류 유형: 101. SignTool Error: No certificates were found that met all the given criteria. [2]
903정성태8/6/201032926Team Foundation Server: 38. TFS 소스 코드 관리 기능 (4) - Branch
902정성태8/5/201025238Team Foundation Server: 37. TFS 2010의 소스 서버 수작업 구성
901정성태8/4/201024409Team Foundation Server: 36. TFS 소스 코드 관리 기능 (3) - Label
900정성태8/3/201027068Team Foundation Server: 35. TFS 소스 코드 관리 기능 (2) - Shelveset
899정성태8/2/201029083Team Foundation Server: 34. TFS 소스 코드 관리 기능 (1) - Changeset
898정성태7/31/201028615.NET Framework: 182. WCF의 InactivityTimeout [1]파일 다운로드1
897정성태7/26/201129854.NET Framework: 181. AssemblyVersion, AssemblyFileVersion, AssemblyInformationalVersion [4]
896정성태7/25/201036634.NET Framework: 180. C# Singleton 인스턴스 생성 [2]
... 151  152  153  154  155  156  157  158  159  160  161  162  163  164  [165]  ...