Error: Failed to connect to PTC Pro/ENGINEER

Solution Number: 1162
Title: Error: Failed to connect to PTC Pro/ENGINEER
Platform:
Applies to: LiveLink™ for PTC® Pro/ENGINEER®
Versions: All versions
Categories: Error Messages, Geometry, Import, Import
Keywords:

Problem Description

When I try to synchronize the geometry between COMSOL and PTC Pro/ENGINEER Wildfire 4.0, the error message

Failed to connect to PTC Pro/ENGINEER. Please make sure PTC Pro/ENGINEER is running.

is displayed.

Solution

The default setting for PTC Pro/ENGINEER Wildfire 4.0 is to use the TCP port 1239 for communication. The connection between COMSOL and PTC Pro/ENGINEER 4.0 could fail if this port is used by another application on your computer. If this happens you can configure PTC Pro/ENGINEER Wildfire 4.0 to use a different port by following the steps below:

  1. Close PTC Pro/ENGINEER if it is running on your computer.
  2. On your computer, browse to the bin folder under the PTC Pro/ENGINEER installation folder, typically C:\Program Files\proeWildfire 4.0\bin
  3. Open the file proe1.psf in a text editor.
  4. Find the line ENV=PTCNMSPORT=1239, and there change the number to a higher number. The new port should not be used by any other application. In some cases it could help to remove the line from the file, for example by replacing it by the line //ENV=PTCNMSPORT=1239.
  5. Save the file.

Start PTC Pro/ENGINEER, then open a CAD file and check that the synchronization with COMSOL works.


Disclaimer

COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.