C
C#13mo ago
paulman176

❔ Can't succesfully run visual studio project

Whenever I try to build to project i cloned from github i get a "System.IO.IOException has been thrown "Failed to bind to address http://localhost:62870."" error. I have nothing running on 62870 so i am completely lost why this happens
14 Replies
Tinefol
Tinefol13mo ago
a link would be helpful?
paulman176
paulman17613mo ago
GitHub
EJ2-Document-Editor-Web-Services/ASP.NET Core at master · Syncfusio...
This repository contains Web API service projects for Word Processor (also known as Document Editor) component server-side dependencies in all supported platforms. - EJ2-Document-Editor-Web-Service...
paulman176
paulman17613mo ago
this is the github repository i cloned!
Tinefol
Tinefol13mo ago
GitHub
EJ2-Document-Editor-Web-Services/ASP.NET Core/src/Properties/launch...
This repository contains Web API service projects for Word Processor (also known as Document Editor) component server-side dependencies in all supported platforms. - EJ2-Document-Editor-Web-Service...
paulman176
paulman17613mo ago
i got that launch file
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:62869/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "api/test",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"EJ2APIServices": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "api/test",
"applicationUrl": "http://localhost:62870/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:62869/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "api/test",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"EJ2APIServices": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "api/test",
"applicationUrl": "http://localhost:62870/",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
this is my launch file
Tinefol
Tinefol13mo ago
are you sure the port is not blocked by firewall or something?
paulman176
paulman17613mo ago
i am on a new mac atm but my firewall is off entirely
Tinefol
Tinefol13mo ago
have you checked there's indeed nothing on this port? like with lsof -i: <port number>
paulman176
paulman17613mo ago
whenever i do that paulvanmierlo@Pauls-MacBook-Pro-2 ~ % lsof -i:62870 i get nothing in return in the terminal so i guess there is nothing running
Tinefol
Tinefol13mo ago
guess I'm out of ideas then :/ As I'm not running on Mac, can't tell much on how to debug it there
paulman176
paulman17613mo ago
too bad ://
Anu6is
Anu6is13mo ago
You could try just changing the port If it still fails something else may be the issue
paulman176
paulman17613mo ago
it still fails when i do that so it must be something else
Accord
Accord13mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.