Jump to content
Medved Trader Forums

Sending HTTP API commands to a second computer running MVT...


Trader_V

Recommended Posts

I've written some software using the HTTP API MVT interface and would like to issue commands (like SetLinkedSymbol and GetLastQuote) from my software on machine 1 to the MVT running on the 2nd machine.  The API setting is turned on for both machines and the "Allow HTTP connections from local/private network" is checked.  However, the API calls using the IP address from the 2nd machine fail.

For example, I've tried http://192.xxx.xxx.xxx:16239/req?GetLastQuote(ACTIVE) in my browser to see if commands issued to machine 2 will work and the call always times out, whereas http://127.0.0.1:16239/req?GetLastQuote(ACTIVE) for machine 1 works great.  (Also, I'm able to ping machine 2 from machine 1.)

Any ideas on how to get it working? Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...