WeBWorK Main Forum

MathJax Again?

MathJax Again?

by Jack Dockery -
Number of replies: 2

We had MathJax working (we thought) a few weeks ago on a new machine, but now it only works if you come in through VPN. 

It did work last week even on a phone. Any one have a issue with this recently. We did not touch the server?

In reply to Jack Dockery

Re: MathJax Again?

by Jack Dockery -
Well it may be that our IT people did not open port 8443 on our webwork server that is behind our firewall.
And to compound finding the issue, we did not know that unless you clear your cache on a browser, even if you turn off our VPN client,
VPN is still running. This makes it look like our server is working properly but it really isn't;

I will post the results once they turn on the port.
In reply to Jack Dockery

Re: MathJax Again?

by Jack Dockery -

It turns out that ports 8443 and 8080 are used by the web service Lighttpd to serve up the MathJax, static files and images as the Lighttpd is less resource-intensive than using Apache2. Apache2 serves up all the other content and uses ports 80 and 443, with 80 automatically redirecting to 443, i.e. http redirects to https. Since there are 2 web services running on Webwork2, they have to use separate ports to function correctly. Our old system Apache was serving up all the content. Our IT folks had to open up  port 8443 on the our firewall and it seems that fixed everything.