Failed to to start listening at http://127.0.0.1:2114, cannot access disposed object system.net.httplistener

any help is appreciated here.

For some reason my local machine can no longer start eventstore with the following

Exiting with exit code: 1.

Exit reason: HTTP async server failed to start listening at [http://127.0.0.1:2113/, http://localhost:2113/].

[39056,12,12:06:00.109] Failed to start http server

Cannot access a disposed object.

Object name: ‘System.Net.HttpListener’.

[39056,12,12:06:00.188] Exiting with exit code: 1.

Exit reason: HTTP async server failed to start listening at [http://127.0.0.1:2113/, http://localhost:2113/].

I tried checking the firewall but no reservations for that port.

I tried re-installing eventstore. Same thing.

Any ideas?

Hi John,

What version of Event Store is this?

How are you starting or running it?

Could you also share your configuration with us? Has it changed recently?

Thanks for your reply. After some research I fixed this by deleting and then re-adding the url and port using netsh.

I have no idea why this happened.

Command line to start is:

EventStore.ClusterNode.exe --db ./db --log ./logs --run-projections=all --start-standard-projections=true

This is just my local version running on localhost/127.0.0.1 with default port

Anyway, found how to get around this using:

https://github.com/EventStore/EventStore/issues/621

https://social.technet.microsoft.com/Forums/windows/en-US/fced363c-b631-427e-9525-12849321f65c/event-15005-unable-to-bind-to-the-underlying-transport-for-1270018092?forum=w7itpronetworking

oh and version is the latest version - 4.0.0.3