getting data from my home automation webserver

Discussion in 'HTML & Website Design' started by saifkazi, Feb 3, 2015.

  1. #1
    So guys
    i had created a home automation web server which simply turn on and off the lights of my room
    now what i need to do is getting the data of button (on home automation server) from another website so i can simply turn on & off the lights from the website which i had made.

    i tried directly linking my button on website
    for eg
    http://1.186.221.111:25565/?button1on 
    Code (markup):
    but i got redirected to my webserver


    thank in advance
     
    saifkazi, Feb 3, 2015 IP
  2. ScottOtten

    ScottOtten Greenhorn

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #2
    To run your LOCALHOST live, firstly make sure your server is up and running on computer.

    Next in your router make sure port forwarding is on for PC's IP and its port

    to know your Pc's IP run ipconfig command on your command prompt

    Next when you know your computer IP then bind it in port forwarding

    Now know your Public IP, you can find it by typing "what is my ip" in google ,and google will tell you the ip.

    Once all is set you will be able to run your localhost using your public IP
     
    ScottOtten, Feb 3, 2015 IP