We have forms 11gr2 64-bit with JDK 7 update 9 on server and JRE 7 update 25 on clients PC.
I m facing problem in one of my client's PC. Please note following;
http://svr:9001/forms/frmservlet?form=new, it doesn't open my form and shows error.
http://192.0.0.1:9001/forms/frmservlet?form=new, it open my form successfully without any error.
i.e. when we enter Name of server in URL, it doesn't open my form. But when we enter IP Address of server, its ok.
We have to use Name of Server, as it is defined in global variable, which is used to open Reports. As such, if we use
IP Address in URL, it doesn't open reports at all.
This problem occurs in one of my client PC, other client PCs are OK.
Please guide !
I would suggest that this is not a forms issue but network visibility on that particular client. If you open a command prompt and enter "ping srv" you will probably get a "could not find host" error.
If you check in your hosts file, located somewhere like %windir%\system32\drivers\etc if you're on windows and depending on the version.
In the file there should be an entry
as Sham has explained, but in the "hosts" file on the local pc not the server and also the other way round
It's the local file which will be used to translate the name "srv" into the IP address of "192.0.0.1" for the local pc network software to be able to "look out" to that address.
So that when you request "srv" the "hosts" file can be inspected and the IP address of "192.0.0.1" returned as the translation
Dont quote your port no when you are opening your forms by server/ host name
Try this link...
Hope this helps...