Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi all,
I have setup Thingworx platform/Tomcat on my laptop. Raspberry pi 3 is also set up [on SD] and i have some sample programs running which reads Sensor data.
I want to run 'temperature-thing' example on raspberry pi, which would send the actual data read from Sensor.
From raspberry browser, when i test http://<Laptop_IP>:81/Thingworx/ or http://<Laptop_HOST_NAME>:81/Thingworx/ the application is not reachable.
Can some one tell me what should be the url to send data from raspberry to Tomcat.
Am i missing any configuration?
Raspberry pi is connected/configgured to Wi-Fi and can connect to Internet.
Any help would be highly appreciated.
Thanks in advance.
Shridhar, is Tomcat configured to listen on port 81? Can you check if you have configured thingworx for port 8080 or 80? Are you able to ping your laptop from the Raspi?
Sushant,
Yes, Tomcat is running on port 81.
Not on 80 or 8080.
Thanks,
P.S.: Not able to reply to your post. get 'Sorry, but you are not authorized to reply to this discussion.' message
Thanks for the info, it could be due to the moderation in discussion.
Also to confirm could you share the exact error code and could you also confirm if you are able to ping that machine from raspi?
Hi,
From Raspberry pi, I can ping tomcat hosted on my laptop.
http call from pi to tomcat tries for ever.
Tomcat call from laptop.
Could it port issue from raspberry pi? How to open 81 port from rasp?
Thanks,
Hi Shridhar N,
Can you please try to access the ThingWorx Tomcat from some other Laptop on same network.
If you face same issue; the Port 81 is blocked on your Laptop and you need to add Rule to allow connection on Port 81.
If it works fine; then the issue is on Raspberry Pi.
Hi Ankit,
Yes, port 81 was not open. I added the rule and it works.
Thanks again.
Br,
Shridhar..
Shridhar will it be possible for you to test the connection using Ethernet cable? it's rather strange. What version of Raspi are you on?