Hi, I am having a program which makes a "http socket" connection to AppServer using the HTTP Transport Port like 9080. I modified the virtual host to have the port entry like: *:9080 (Asterik colon then port number) Everything works fine if the virtual host entry is *:9080. But I would like to restrict this socket connection only from certain IP, so I modified the virtual host to: 188.8.131.52:9080 Now if I execute my program its able to make conneciton but giving following error: Response: HTTP/1.1 404 Not Found Server: WebSphere Application Server/4.0 Content-Type: text/html Content-Length: 140 Connection: close <H1>Virtual Host or Web Application Not Found</H1> <H3>The host ibm9 has not been defined</H3> IBM WebSphere Application Server I am unable to understand why its not working. As per my understanding if I don't specify the IP address in virtual host then anybody can connect to the clone, whethere this will cause any security threat. Thanks in advance. SK
The chances are that WebSphere is trying to resolve the ip address to a host name. Do a ping 184.108.40.206 on the server and check the response. If it does not resolve WebSphere cannot find the virtual host. Define a host name for the IP address in your host file and use this in the virtual host definition. Make sure there is a similar virtual hos entry in the Apache config file.