Could not bind

I am having problems starting debug. I have xdebug in place. Any ideas?

(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : make_sock: could not bind to address 127.0.0.1:12795
no listening sockets available, shutting down
Unable to open logs

Comments

    Make sure there are no

    Make sure there are no instances of Apache running when you are not debugging. It seems an Apache process was left lingering.

    But don't you

    But don't you need the Apache server running in order to view the php site?

    VS.Php will start Apache

    VS.Php will start Apache when you start the debug session. If for some reason in a previous debug session Apache didn't close, it would still be listening on that port. When you start the debug session the new Apache instance fails to bind and stops the debug session.