Hello, I encountered some issues while trying to use Eventstore.
Here is my configuration↓
Snapshot taken at 2024-03-20 16:22:14
Internal Tcp External Tcp Http Status State Timestamp (UTC) Checkpoints
35.243.xx.40:2113 35.243.xx.40:2113 35.243.xx.40:2113 Alive Manager 2024-03-20 14:42:29 n/a
35.221.xxx.213:2113 35.221.xxx.213:2113 35.221.xxx.213:2113 Alive Manager 2024-03-20 14:42:29 n/a
34.146.xx.19:2113 34.146.xx.19:2113 34.146.xx.19:2113 Alive Manager 2024-03-20 14:42:29 n/a
10.0.2.4:1112 10.0.2.4:0 10.0.2.4:2113 Alive Leader 2024-03-20 16:22:12 L8993/W9357/C9357/E6@8715:{9095d23b-8ca7-4897-8643-1a56da13d8fc}
10.0.2.3:1112 10.0.2.3:0 10.0.2.3:2113 Alive Follower 2024-03-20 16:22:13 L8993/W9357/C9357/E6@8715:{9095d23b-8ca7-4897-8643-1a56da13d8fc}
10.0.2.2:1112 10.0.2.2:0 10.0.2.2:2113 Alive Follower 2024-03-20 16:22:13 L8993/W9357/C9357/E6@8715:{9095d23b-8ca7-4897-8643-1a56da13d8fc}
My first question is, why are there three additional nodes, and why are they associated with external IP addresses?
Then I tried to modify the configuration file to set the external IP as the external IP and the internal IP as the internal IP.
The error is as follows:
{"@t":"2024-03-20T06:25:28.9333725+00:00","@mt":"Hosting failed to start","@l":"Error","@i":732972521,"@x":"System.Net.Sockets.SocketException (99): Cannot assign requested address\n at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)\n at System.Net.Sockets.Socket.Bind(EndPoint localEP)\n at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)\n at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()\n at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)\n at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)\n at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()\n--- End of stack trace from previous location ---\n at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)\n at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)\n at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)\n at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)\n at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)\n at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)\n at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)\n at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)\n at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)\n at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)\n at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)\n at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)\n at EventStore.ClusterNode.Program.<>c__DisplayClass0_1.<<Main>g__Run|4>d.MoveNext() in /home/runner/work/TrainStation/Train
My external IP is fine, and the ports are also open, So, any suggestions? What should I do?
I am using the latest version 24.2