I recently made a custom mod pack (1.12.2) using curse. I have made mod packs before and I have port forwarded before. But recently I got a new computer with a fresh install of windows. I changed the firewall setting for both UDP and TCP for inbound and outbound as well as enabling connections for Java runtime environment for both public and private networks. I had the same router as before and the only thing that has changed is a new computer with fresh windows install (windows 10 home).
For some reason when my friend on the same network tries to connect the server the error code is listed below occurs. After a few seconds, my ethernet port on the computer that is running the server gets disabled. I am unable to reenable the ethernet port without restarting the computer. I do not get any prompts from windows firewall. The internet for the apartment still works it's just for some reason my computer gets its ethernet port disabled when they try to connect. I can tell you in this case the person trying to connect did have their Minecraft crash but this should not result in my ethernet port getting disabled. I also know for a fact that port 25565 is open.
[11:14:24] [Netty Server IO #1/ERROR] [FML]: NetworkDispatcher exception[11:14:24] [Netty Server IO #1/ERROR] [FML]: NetworkDispatcher exceptionjava.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) ~[?:1.8.0_291] at sun.nio.ch.SocketDispatcher.read(Unknown Source) ~[?:1.8.0_291] at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) ~[?:1.8.0_291] at sun.nio.ch.IOUtil.read(Unknown Source) ~[?:1.8.0_291] at sun.nio.ch.SocketChannelImpl.read(Unknown Source) ~[?:1.8.0_291] at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288) ~[minecraft_server.1.12.2.jar:?] at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100) ~[minecraft_server.1.12.2.jar:?] at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:372) ~[minecraft_server.1.12.2.jar:?] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123) [minecraft_server.1.12.2.jar:?] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:624) [minecraft_server.1.12.2.jar:?] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:559) [minecraft_server.1.12.2.jar:?] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:476) [minecraft_server.1.12.2.jar:?] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [minecraft_server.1.12.2.jar:?] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [minecraft_server.1.12.2.jar:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_291]