I am trying to run embadded jetty using eclipse. below is the code snippet.
Server server = new Server(4269);
ContextHandler context = new ContextHandler();
context.setContextPath("/abc");
server.start();
server.join();
I can see following in console when I run.
2015-09-12 10:52:41.360:INFO:oejs.Server:jetty-8.1.8.v20121106
2015-09-12 10:52:41.402:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4269
so its listening to 0.0.0.0:4269. I expect it to be accessible using localhost:4269/abc, 127.0.0.1:4269/abc and 192.168.1.134:4269/abc. However, it doesn't work with 192.168.1.134:4269/abc and even with my static ip http://10.xxx.xx.xx:4269/abc.
Please guide me what am I doing wrong?