You need to run the server over port 80 (http) and / or 443 (https). These are the default ports.
Another option which can sometimes be relevant is to use a reverse proxy where the main server receives the request, passes it to the B4J server and then returns the result.
With the exception of WebSockets, it is quite simple to configure.