Why you need to do this is not clear.
Are you wanting to defeat a copyright restructure?
EDIT:
Here is some additional information that might be of some help. However, this is not a direct answer to your question.
Programs that have server dependencies might be up to general types. The first is a program that actually consists of a script written in some language such as P HP. The second is a program written in native code that uses the operating system of the remote server.
Furthermore, there is the issue of copyright protection. In the case of a program that you purchased you may have an option to run the program on your computer if the creator of the program has such a provision and if you qualify. Consider the case of where the program is either free or otherwise made available without cost or commercial consideration. Such programs are often modified and distributed in different forms and such program sometimes I made available to run on a PC without the use of the server.
So the key question here is whether or not you bought the program and whether or not the program is a free program that others can modify and distribute in different forms. Can you contact the program ceator?
In my own personal experience there is a server program that I often use without logging into the server. That is because I have a special program that emulates a server for the PHP script language. However, it is very specific and only applies directly to the specific software package that is available free from the vendor.
I just though of another possibility. If you are a developer, and your developing your own program that has a server dependency, your development tools should have some provision to where you can test your program on your local computer without the need of an Internet connection to a server. This depends specifically on what is that appellant package you are using, if that applies to you.
Without more details about what you're trying to do, this is the best I can say for now.