dotnet website. dll 에서 실행 매개 변 수 를 지정 합 니 다.

538 단어 dotnet
기본 감청 주 소 는 http://localhost:5000 이 고 기본 환경 변 수 는 Production 감청 주 소 를 통 해 감청 주 소 를 만 들 수 있 으 며 -server.urls 환경 변 수 를 통 해 환경 변 수 를 지정 할 수 있 습 니 다.
dotnet website.dll --server.urls http://*:88 --environment ZYQ

실행 결과
Hosting environment: ZYQ
Content root path: D:\Source\Repos\website\out
Now listening on: http://[::]:88
Application started. Press Ctrl+C to shut down.

좋은 웹페이지 즐겨찾기