Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 2개 있습니다.)
(시리즈 글이 8개 있습니다.)
오류 유형: 622. 소켓 바인딩 시 "System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions" 오류 발생
; https://www.sysnet.pe.kr/2/0/12240

오류 유형: 629. Visual Studio - 웹 애플리케이션 실행 시 "Unable to connect to web server 'IIS Express'." 오류 발생
; https://www.sysnet.pe.kr/2/0/12265

오류 유형: 639. Bitvise - Address is already in use; bind() in ListeningSocket::StartListening() failed: Windows error 10013: An attempt was made to access a socket ,,,
; https://www.sysnet.pe.kr/2/0/12295

오류 유형: 642. SQL Server 시작 오류 - error code 10013
; https://www.sysnet.pe.kr/2/0/12306

오류 유형: 659. Nox 실행이 안 되는 경우 - Unable to bind to the underlying transport for ...
; https://www.sysnet.pe.kr/2/0/12351

오류 유형: 695. ASP.NET 0x80131620 Failed to bind to address
; https://www.sysnet.pe.kr/2/0/12492

오류 유형: 724. Tomcat 실행 시 Failed to initialize connector [Connector[HTTP/1.1-8080]] 오류
; https://www.sysnet.pe.kr/2/0/12671

오류 유형: 725. IntelliJ에서 Java webapp 실행 시 "Address localhost:1099 is already in use" 오류
; https://www.sysnet.pe.kr/2/0/12672




Visual Studio - 웹 애플리케이션 실행 시 "Unable to connect to web server 'IIS Express'." 오류 발생

오랜만에 열게 된 웹 애플리케이션 프로젝트에서 F5(또는 Ctrl + F5) 키를 눌러 실행을 했는데 다음과 같은 오류가 발생합니다.

Unable to connect to web server 'IIS Express'. 

Process with an Id of ... is not running.
또는,
An error occurred launching IIS Express. Unable to launch the configured Visual Studio Development Web server. Port '...' is in use.

이와 함께 뜬 풍선 알림 글이 이렇고,

IIS Express Notifications

The specified ports is in use

Port '...' is already being used by another application.

Recommendations
1. Try switching to port other than '...' and higher than 1024.
2. Stop the application that is using port '...'

Open log file

"Open log file" 링크를 누르니 다음과 같은 오류 메시지가 포함되어 있습니다.

Failed to register URL "http://localhost:5576/" for site "..." application "/". Error description: The process cannot access the file because it is being used by another process. (0x80070020)

문제는 해당 포트로 점유하고 있는 프로세스가 없다는 점입니다.

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

C:\Windows\System32>

그러니까, 결국 다음의 원인과 같은 내용이었습니다.

소켓 바인딩 시 "System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions" 오류 발생
; https://www.sysnet.pe.kr/2/0/12240

따라서, 프로젝트 설정에서 해당 웹 애플리케이션의 포트를 변경하든지, 아니면 excludedportrange에서 해당 포트를 포함하는 영역을 삭제해야 합니다.




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

[연관 글]






[최초 등록일: ]
[최종 수정일: 2/1/2023]

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)
199정성태4/13/200619387스크립트: 6. XHTML or HTML 4.01 표준 준수
194정성태4/13/200618632VC++: 22. IDL Library 절
193정성태4/13/200619107.NET Framework: 57. IComponentChangeService 인터페이스
192정성태6/1/200616387VC++: 21. Visual C++ struct와 class의 차이점
189정성태4/13/200624090VC++: 20. ActiveX CAB 파일 오류 유형 - 파일을 대상 디렉터리로 복사할 수 없음. [6]
187정성태11/24/200518368VS.NET IDE: 35. VS.NET 2005 IDE Tip - 2번째 : XML / XSL 지원 강화
186정성태11/23/200515890.NET Framework: 56. VS.NET 2005 IDE Tip
182정성태11/21/200516084.NET Framework: 55. 에러가 발생할 것만 같은 코드
181정성태11/20/200544859.NET Framework: 54. 한글이 포함된 ANSI, UTF-8, UNICODE 텍스트 파일 읽기 [3]파일 다운로드1
197정성태12/25/200520327    답변글 .NET Framework: 54.4. [관련 문제] A 태그의 href에서의 문제.
198정성태12/27/200518083    답변글 .NET Framework: 54.5. [추가]: VS.NET으로 UTF-8 홈페이지 구성하기
179정성태11/8/200515740.NET Framework: 53. .NET Remoting: 메시지 교체
178정성태11/5/200516647기타: 11. Dual Core 장만. ^^
177정성태11/2/200516359COM 개체 관련: 17. CoGetClassObjectFromURL파일 다운로드1
176정성태3/29/200621577.NET Framework: 52. covariance? [1]파일 다운로드1
175정성태10/31/200517175.NET Framework: 51. MSXML 6.0에서 디지털 서명 기능을 제거!
180정성태11/15/200517311    답변글 VS.NET IDE: 51.1. MSXML 6.0 정식 릴리스
174정성태10/31/200518093.NET Framework: 50. app.config 예시 [1]
173정성태10/30/200516896스크립트: 5. 스크립트 호출 관계
172정성태10/25/200525221.NET Framework: 49. ASP.NET 오류 유형 : 액세스가 거부되었습니다. [2]
171정성태11/14/200527075VC++: 19. 다국어 지원: setlocale( LC_TIME, "" ) 관련 [1]
170정성태11/14/200521713VS.NET IDE: 34. Visual SourceSafe 2005: Remote Internet Access over HTTP : 80 이외의 포트를 지정
206정성태2/1/200617997    답변글 VC++: 34.1. [추가]: Internet Access Plug-in 사용 시 유의 사항
168정성태11/14/200519022VS.NET IDE: 33. IIS 6.0 AppPool 설정 - Enable rapid-fail protection
169정성태10/14/200520700    답변글 VS.NET IDE: 33.1. Enable rapid-fail protection 상황 재현 방법
166정성태11/14/200517974.NET Framework: 48. IE를 죽이는 스크립트 소스
... 181  182  183  184  185  186  187  188  189  [190]  191  192  193  194  195  ...