1

I built an MVC project and tried to run it on Visual Studio 2015. I haven't written any code yet. The build is successful and I get this message:

"localhost refused to connect."

I wanted to stop the project but I realized it has't started. I am new in programming and this is my first project. I couldn't find any good answer on the web what should I do?

Jason Aller
  • 3,475
  • 28
  • 40
  • 37
caty90
  • 11
  • 1

1 Answers1

2

Possible duplicate of this?

Try changing your port number (Right click solution > Properties > Web > Project Url).

Project Url port number

This may be caused by a conflicting port number.

Jessica
  • 1,301
  • 2
  • 17
  • 29