I don't really know where to start with this issue, so I'll just say what's wrong:
I'm running some code in Eclipse that is connecting to our remote "dev" server and presumably using the server there. This means that when I update code in the servlet or any code that actually uses the servlet, no changes are reflected on my local machine.
My question is how can I run the servlet on my local machine and have it connect to the dev server to use its MySQL DB to get the data. Presumably this will allow me to make changes to the servlet locally and still use test data.
I am running Tomcat 5.5 as well, and in Debug Configurations I tell the servlet to run on localhost:8000, but it says it can't connect.
I'm really stuck here and it's disheartening since any changes I make to the code aren't even reflected at all. Moreover I can't see any debug information to tell if my changes are even working at all much less how I intend.
I also tried to make some noticeable changes to parts of the code so that it would be easy to see that I'm affecting it and it doesn't look like they're actually having an effect when I run the code.
tl;dr I'm stupid and don't know what to do.