Skip to main content
1-Visitor
January 9, 2015
Solved

May I know how to configure the host to communicate with the windchill virtual image? Thanks.

  • January 9, 2015
  • 6 replies
  • 4027 views

I installed windchill in the virtual machine. I can log in windchill inside of virtual machine. Host name is vm-windchill. Ip address is 192.168.72.132. Windchill address is http://vm-windchill.localdomain:8080/Windchill/.

On the host machine:

Added the line:

192.168.72.132 vm-windchill.localdomain

into the hosts file.

I can ping vm-windchill.localdomain from the host machine. But when I open windchill from the host machine, it says Internet Explorer cannot display the webpage.

Someone can help me, I will appreciate it. Thanks!

Best answer by ChrisSpartz

If you're able to ping the Windchill machine but not hit it from a web browser, then you could be running into a firewall issue. Try disabling the firewall on the Windchill VM, and then see if you can connect from the host machine.

6 replies

23-Emerald II
January 10, 2015

Are you able to get to the Apache page? http://vm-windchill.localdomain:8080? Do you see any attempts from the client to connect to the server in the Apache access log?

Linlin1-VisitorAuthor
1-Visitor
January 12, 2015

Thank you so much, Lori,

I could not get to the Apache page from the client (the Host server), and the attempts from the client(Host server) to connect to the windchill server( the virtual machine) in the access log. Any thoughts? Thanks!

13-Aquamarine
January 12, 2015

If you're able to ping the Windchill machine but not hit it from a web browser, then you could be running into a firewall issue. Try disabling the firewall on the Windchill VM, and then see if you can connect from the host machine.

BenPerry
15-Moonstone
January 12, 2015

Two things for our 10.2 installation: httpd.conf and wt.properties.

In httpd.conf, set ServerName to [VM]:[port]. For example:

ServerName vm-windchill.localdomain:8080

For wt.properties, use the command:

xconfmanager -s wt.server.codebase=$(wt.webserver.protocol)://[VM]:$(wt.webserver.port)/$(wt.webapp.name)

For example:

xconfmanager -s wt.server.codebase=$(wt.webserver.protocol)://vm-windchill.localdomain:$(wt.webserver.port)/$(wt.webapp.name)

You might need to escape special characters. This also assumes wt.webserver.port=8080.

I think Lori is right, this is probably an Apache issue. But once you get that taken care of, Windchill might still be confused if you don't set the property in wt.properties. If you're lucky and Windchill doesn't get confused after setting the property, then at least you'll probably notice the VM name automatically removed from the URL in the address bar, and reverting back to the hostname.

This was our experience anyway...

Linlin1-VisitorAuthor
1-Visitor
January 12, 2015

Hi Ben,

I tried to modify the wt.properties file and and httpd.conf as your mentioned. But I still could not access the windchill from the client (the host server). May I know what I can do more? Thank you so much!