This content has been marked as final. Show 5 replies
Your description suggests that you have setup a sort of network between two servers with a crossed ethernet cable. In such a setup, things will work fine if each of the computers share the same network. Note however that you still need to resolve host names to IP numbers should you want to use the host name of your web server instead of the IP number.
First, does it work with the IP number of the web server?
If that works, add the web server as an entry in your local host file. Once you have done that, you should be able to use the host name instead of IP number.
Hi EJ, thanks for the reply.....
It doesn't work with the ip number of the web server neither does it work with the host name. I changed the IP address in the Node Manager to 127.0.0.1 and in the Host file i entered the following: 127.0.0.1 OBYYS-PC but when i tried running the url from a browser in another computer using either of the two, none worked.
Note however that you still need to resolve host names to IP numbers should you want to use the host name of your web server instead of the IP number. Please can you give me a brief example of how to resolve host names to IP numbers and should it be done in each computer or just the web server?.... im not really a pro in that...
I await your reply,
127.0.0.1 won't work as this is your localhost address, it it not reachable from computers other than the local computer itself.
Telling you how to build a network is a bit out of scope for these forums as we discuss Oracle Application Server software here. I'll give you a brief example but if you need to learn more about networking, I'd recommend to get a good book about it.
You can build a simple network between two computers by computers by connecting them to each other through either a hub or a crosslinked network cable. Each computer needs to have its own IP number but they must share the same network in order to see each other. I'd recommend to use one of the private address ranges, e.g. 192.168.178.0 as your network address.
The configuration below would build you a network already :
Computer 2 :
hosts file :
Notice that most home use routers include a DHCP server to provide connected clients with the network configuration. Should you have such a setup, you only need to setup your client computer to use DHCP. The exception would be the server where you are running the Application Server software. You can configure a static address (unique - you must not have two IP numbers on the same network) for the server and then add this to the local host file on your client.
Hope this helps, otherwise get the book :-)
Frankly speaking i dont know what is really wrong, i already turned off the Windows firewall setting of both computer, but still cant call my application from the other PC browser.....
you gave me this example..
i see these in the IPV4 properties in Network and Sharing Centre,
Preferred DNS server:
Alternate DNS server:
Please i'm a little bit confused.. on matching the two, which relates to which?