abp icon indicating copy to clipboard operation
abp copied to clipboard

Port 4200 is in use. Please close the application that uses this port and try again.

Open mohamedabotaleb130 opened this issue 4 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Description

Problem

An error has occured! Port 4200 is in use. Please close the application that uses this port and try again.

Details

Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.NetworkInformation.NetworkManager.CheckPortInUseAsync(int port, ProtocolType type, bool includeReserved) at async Task Volo.Abp.Studio.Running.ApplicationRunner.CheckPortAvailabilityAsync() at async Task Volo.Abp.Studio.Running.ApplicationRunner.StartAsync(bool watch, bool skipBuild, bool skipRestore) at async Task Volo.Abp.Studio.UI.Solutions.Items.RunProfiles.RunnableApplicationUIModel.StartAsync(bool skipBuildBeforeStarting, bool ensureBuildBeforeStarting) at async Task Volo.Abp.Studio.UI.ViewModels.SolutionRunner.Items.RunnableApplicationItemViewModel.JSHlJNnFCk()

Version

1.2.2

Operation System

Windows (Default)

Solution Configuration

  • Template: app
  • Created ABP Studio Version: 1.2.2
  • Current ABP Studio Version: 1.2.2
  • Tiered: No
  • Multi-Tenancy: Yes
  • UI Framework: angular
  • Theme: leptonx-lite
  • Run Install Libs: Yes
  • Progressive Web App: No
  • Run Progressive Web App Support: No
  • Database Provider: ef
  • Database Management System: sqlserver
  • Separate Tenant Schema: No
  • Create Initial Migration: Yes
  • Run Db Migrator: Yes
  • Mobile Framework: none
  • Public Website: No
  • Social Login: Yes
  • Include Tests: Yes
  • Kubernetes Configuration: No
  • Distributed Event Bus: none
  • Use Local References: No
  • Selected Languages: Arabic, Chinese (Simplified), Chinese (Traditional), Czech, English, English (United Kingdom), Finnish, French, German (Germany), Hindi , Hungarian, Icelandic, Italian, Portuguese (Brazil), Romanian (Romania), Russian, Slovak, Spanish, Swedish, Turkish
  • Default Language: Arabic
  • Create Command: abp new OnlineStore -t app --ui-framework angular --database-provider ef --database-management-system sqlserver --theme leptonx-lite --without-cms-kit --dont-run-bundling -no-file-management

Other information

This issue has been reported from ABP Studio.

mohamedabotaleb130 avatar Aug 31 '25 17:08 mohamedabotaleb130

hi

Please use the commands below to check which application is using port 4200 and kill the process.

netstat -ano | findstr :4200

Thanks

maliming avatar Sep 01 '25 00:09 maliming