The easiest method is using hosting services specifically designed for Eaglercraft. These platforms often provide "one-click" setups that handle the technical WebSocket bridging for you.
Example link (check for latest): https://github.com/LAX1DUDE/eaglercraft how to create a server on eaglercraft