Try to take a look at the HTTP reply headers; there should be a redirect with the target address. With high probability, the Upstream - the Jenkins generating these links and including its original address, which is 8888 port. You can repeat the test with and w/o a reverse proxy and compare the header value.
If it's true - try to find "main" URL in the Jenkins settings.