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

비밀번호

댓글 작성자
 




... 181  182  183  184  185  186  187  188  189  190  191  192  193  194  [195]  ...
NoWriterDateCnt.TitleFile(s)
132정성태3/30/200518657    답변글 VS.NET IDE: 23.1. [추가]: MSI 설치 동작 원리
102정성태2/16/200521455.NET Framework: 25. Verify that you are a member of the 'Debugger Users' group on the server. [2]
101정성태2/15/200519204.NET Framework: 24. WMI Win32_NTLogEvent 관리 이벤트를 Windows 2000 에서는 "Access Denied" 가 발생하는 문제파일 다운로드1
100정성태2/15/200525478VS.NET IDE: 22. 방화벽 환경에서의 WMI 연결을 위한 포트 설정 [2]
99정성태2/15/200523599COM 개체 관련: 13. 비동기 Drag & Drop 구현 : IAsyncOperation
103정성태2/23/200519707    답변글 COM 개체 관련: 13.1. [관련 자료] 그외 Drag & Drop 링크파일 다운로드1
97정성태2/14/200522381VS.NET IDE: 21. 설치된 Platform SDK 버전확인 방법
96정성태2/14/200524328기타: 9. http://www.google.com/webhp?complete=1&hl=en 검색에 관해서.
95정성태2/14/200533683VS.NET IDE: 20. Win32 특권 정리 [1]
94정성태1/29/200524996VC++: 13. VS.NET 2005 VC++ 컴파일러 에러 : cannot instantiate abstract class
93정성태1/29/200520869VS.NET IDE: 19. 혹시 VS.NET 2005 Beta2(2004/12 CTP Team System 버전)이 다운이 자주 되나요? [2]
92정성태1/29/200519588.NET Framework: 23. Unmanaged 환경에서 Managed DLL에 정의된 메서드 호출 시 오류 확인하는 방법
91정성태11/14/200520208VC++: 12. VS.NET 2005 VC++ Debug: Expression: ( (state != ST_INVALID ) )
90정성태1/27/200521221.NET Framework: 22. Debug: The underlying connection was closed: Unable to connect to the remote server.
89정성태1/26/200525641VC++: 11. Delay Loaded DLL
87정성태1/23/200519193VS.NET IDE: 18. VS.NET 2005 Beta 1 - VC++ 프로젝트에서 Connection Point 구현시 버그
88정성태1/23/200518708    답변글 VS.NET IDE: 18.1. VS.NET 2003 : VC++ 프로젝트에서 Connection Point 추가시에도 버그
86정성태1/23/200524626.NET Framework: 21. Code Snippet - Enum과 관련된 다양한 형변환 [1]
85정성태1/23/200522824스크립트: 4. Windows 2003에서 BHO(Browser Helper Objects) 동작 안하는 현상 [1]
83정성태1/18/200528023.NET Framework: 20. System.AccessViolationException 예외가 발생한 한 예.
82정성태1/3/200521541VS.NET IDE: 17. Windows 운영 - 특정 사용자 또는 그룹에 대해서 파일 공유 접근 금지
79정성태1/20/200529281기타: 8. DELL Latitude D800 노트북 컴퓨터의 PC Beep 소음(!) 문제.
78정성태12/27/200421758VS.NET IDE: 16. MS 제품 관련 사용되는 TCP/IP 포트 열거파일 다운로드1
77정성태12/27/200422083VS.NET IDE: 15. Virtual CD-ROM Control Panel - ISO 이미지를 CD-ROM 드라이브처럼 접근하게 해주는 EXE 프로그램 [1]파일 다운로드1
76정성태12/27/200422994VS.NET IDE: 14. VPN 접속시 IP를 고정적으로 할당받는 방법 [1]
75정성태12/27/200419071VS.NET IDE: 13. VS.NET 2005 Beta 1 - Portfolio Explorer 에 등록된 Team Server 항목 삭제 방법
... 181  182  183  184  185  186  187  188  189  190  191  192  193  194  [195]  ...