Startup Appplication:
@SpringBootApplication
@EnableZuulProxy
public class ZuulServer {
public static void main(String[] args) {
new SpringApplica
When your application runs on http://localhost:8383
then you can only make AJAX-calls to http://localhost:8383
. Zuul doesn't and cannot change that.
What Zuul can do is mapping requests for e.g. http://localhost:8383/zuul/
to http://localhost:8080/zuul/
. But your browser would have to call http://localhost:8383/zuul/springapp/departments
and you have to configure that mapping.