Home AMX User Forum AMXForums Archive Threads AMX Applications and Solutions

WebControl Problem

Hello All,
If i want to access my G4 panel though WebControl but I don't want to go through the regular WebControl Page, What is the Url I should write in the address bar?
Lets say the Netlinx master's IP is 192.168.1.1 and my G4 panel is at 192.168.1.2, I tried the following but with no success:
http://192.168.1.1 Javascript: showPanel('192.168.1.2','5900','192.168.1.2')

I need this because my costumer wants me to build him a website with a button named AMX that will access directly the named panel?

Thanks for the help

Ronen

Comments

  • Joe HebertJoe Hebert Posts: 2,159
    Hi Ronen,

    Is the link for access from within your clients private LAN? If so, try this:

    http:// 192.168.1.1/G4WebControl.asp?ip=192.168.1.2&port=5900
  • RonenRonen Posts: 55
    Joe,
    Thanks for your quick response. The costumer wants access from the intranet as well from the internet.
    I tried your solution and it works great. Will it also work from the internet?

    Thanks

    P.S.
    I already added to my code in the Define_Start:
    SEND_COMMAND 0:1:0,'G4WC "SALON",80.179.11.80,5900,1'
    Which is the external ip address.
  • GSLogicGSLogic Posts: 562
    Ronan

    You have to setup the router to pass PORT 5900 to the panel ip (192.138.1.2), then you can connect using http://80.179.11.80:5900

    Hope this helps!
  • RonenRonen Posts: 55
    Thank You

    Thanks for all the answers guys,
    works great ^^b
Sign In or Register to comment.