Score:-1

Change requests to arrive at loopback address under specific port

in flag

I have the following setup:

  1. A Vodafone GigaCube providing internet access
  2. A couple of DYMO LabelWriter Printers connected through a switch to the GigaCube
  3. A Laptop thats connected to the gigacube network running the DYMO webservice
  4. A phone thats also connected to the gigacube network
  5. 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.

djdomi avatar
za flag
since it's a complete home and end-user computing questions, which is off topic on serverfault.com, please flag the question for movement to superuser.com where it might be on topic
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.