JSP not getting refreshed, Modrators Please Help

The Jsp pages are not getting refreshed .As the result the o/p from the bean(called in the corresponding JSP page) remains same. I have tried 'page','session',request' scope of bean but the problem could not be solved. This problem does not exist when I m running the application with the URL as "http://locahost:8081/pms/...." But as soon as I specify the IP address of the server instead of localhost(i.e URL as "http://185.15.15.6:8081/pms/..." ) on the server only(same m/c), the JSP pages doesn't get refreshed consequently the bean is never called again & the o/p remains unchanged. When I refresh the page ,it starts working fine. There is no problem in the cache of the local m/c as even I ve tested it on those m/c's browser where this application was running for the very first time. I ve tried diffent server as TOMCAT & even JRUN but not I think it is not the Problem of any particular server. Plz do help. Thanks Bansal