cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Connectivity With Hosted Server

ShanuGarg
8-Gravel

Connectivity With Hosted Server

Hello everyone,

Can anyone Suggest in eclipse program  

config.setUri("wss://https://PP-1811230905UC.devportal.ptc.io/Thingworx:80/Thingworx/WS");

Is It a Correct way to use ?

and when I run this program, it shows a port out of range exception.

 

6 REPLIES 6
dupatel
19-Tanzanite
(To:ShanuGarg)

@ShanuGarg You should not enter https in the URL. Try below and make sure port entered is correct

"wss://PP-1811230905UC.devportal.ptc.io/Thingworx:80/Thingworx/WS"

 

-Durgesh

I tried with Https and http both but It didn't work

dupatel
19-Tanzanite
(To:ShanuGarg)

@ShanuGarg Which port you are using with https ? The port will be different for http and https.

 

-Durgesh

Ya I know that I tried so may like 80, 443 etc

jwyatt
12-Amethyst
(To:ShanuGarg)

Greetings,

 

It appears that your hosted DevPortal trial expired on December 23rd. You first posted this issue on the 13th, though. So, unfortunately, your trial expired before we could get back to you.

 

My *guess* is that it was port blocking. The hosted servers are fairly locked down. The guides on the DevPortal are careful to give instructions that we know will work. It appears that you were trying to do something with Eclipse other than something that we'd instruct in a guide. Because of our security, that may not be viable. But, still, sorry for the delay in response.

 

I may have a solution, however. Our downloadable trials run for 120-days, and you run them on your own system. As such, they're not locked down like the hosted servers are.

 

You may download them here: https://developer.thingworx.com/en/resources/downloads

 

If I'm in error and you were trying to follow the instructions in one of our guides (such as the Eclipse "Create an Extension" guide here: https://developer.thingworx.com/en/resources/guides/eclipse-plugin-thingworx-extension-development-tutorial), please let us know so that we can correct our instructions.

 

Thank you,

Jason

slangley
23-Emerald II
(To:jwyatt)

Hi @ShanuGarg.

 

If the response provided by @jwyatt answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Announcements


Top Tags