I have the following setup:
- A Vodafone GigaCube providing internet access
- A couple of DYMO LabelWriter Printers connected through a switch to the GigaCube
- A Laptop thats connected to the gigacube network running the DYMO webservice
- A phone thats also connected to the gigacube network
- A Website that uses the DMYO JavaScript SDK to send a request to the webservice on 127.0.0.1
What I'm trying to do:
Print a label with the DYMO LabelWriter by accessing a website on the phone.
If I try it on the PC thats running the webserver it works. On the phone it can't connect to 127.0.0.1:41951/DYMO/DLS/Printing/StatusConnected
Even if I change 127.0.0.1 to the Laptops IP Address (e.g. 192.168.8.123) it doesn't work. I've googled a lot and my network skills are pretty basic. But I think the issue is that the webserver is only listening to 127.0.0.1:41951 and nothing else. I can't change the underlying code.
So my question is: Can i make my PC "forward" an incoming request to it's local IP (192.168.8.123) to its own loopback (127.0.0.1)?
I want to: Open the website on the phone, send the request to 127.0.0.1 on the PC and have the printer print out the label.