I have number of monitoring systems deployed based on the SB70 with the PINK application.
When using a browser, I sometimes get a "page not found" message. I originally thought this was just one of those internet latency issues. But, I've recently found that even when getting a page not found error I can always use telnet to connect with the module.
In trying to isolate the problem, I'd like to use a different port for the SB70 (say 8080 instead of 80) to see if the ISP is blocking port 80 services.
Can I set the port used by the PINK?
Thanks,
Tom Sisk
Port selection on PINK
Re: Port selection on PINK
An easy test would be to connect the pc and pink to a router or switch, then you eliminate going through your isp.
Re: Port selection on PINK
Quite right.
During development on my local network this issue was not apparent. Its only when out in the field on a few sites that it becomes noticeable.
The immediate question is whether the PINK's port number can be easily changed.
Cheers
During development on my local network this issue was not apparent. Its only when out in the field on a few sites that it becomes noticeable.
The immediate question is whether the PINK's port number can be easily changed.
Cheers
Re: Port selection on PINK
If you are building the pink app then its easy...
In the UserMain call StartHTTP just add the port you want...
IE
StartHTTP(8080);
If your using the default app there is presently no easy way to change it....
In the UserMain call StartHTTP just add the port you want...
IE
StartHTTP(8080);
If your using the default app there is presently no easy way to change it....
Re: Port selection on PINK
I was afraid of that!
We've been using standard application as it does everything we need and the client is very comfortable with it.
Is there a way to have a separate piece of code change the port number, without digging into the standard application?
Thanks for your insight.
Tom
We've been using standard application as it does everything we need and the client is very comfortable with it.
Is there a way to have a separate piece of code change the port number, without digging into the standard application?
Thanks for your insight.
Tom
-
- Posts: 1
- Joined: Wed Jan 01, 2014 10:33 pm
Re: Port selection on PINK
Thanks for sharing.
Re: Port selection on PINK
You can set up a single port forward/redirect in the router. So when you do http://YourPinkAddress.com:8080 the router redirects to the internal IP address you give the PINK.