here : http://iot-playground.com/esp8266-wifi-relay-switch
replace the transistor-relay module with the led
Also I do not want to use others cloud forgot to mention, I want the module to be stand alone and I want to port forward the ip address of it to access easily with a web page that is hosted by the MCU. The networking part with port forward is not a problem
So you don't want to use EasyIoT but just want a simple little standalone server.
How much do you know about web servers?
Building a web server is simple. It sits there waiting for a connection request usually on port 80. After establishing a connection with the client, the client sends a http request. This is just a string specifying what the client wants (what file it wants to load). The server responds by sending the data requested. That's the simpliified view of it.
As I think about your problem, I see a simple (to me) solution. I'd have three different pages that could be requested: the default (say led.html) the On page (on.html) and the off page (off.html). If you load the main page, you get a little html page that shows you the present state of the LED, and has a button/link to turn it on or off. Clicking that will load the on.html or off.html page. When the server gets a request for on.html, it turns on the LED and sends the html content. When the server gets a request for off.html, it turns off the LED and sends the html content. Simple enough right? You will need to flesh out the details of how to open that TCP connection, and to respond to http requests. I'm sure google can find a bazillion or so examples.
The html page can be as simple as a single line of html code. When the LED is OFF, send:
<html><body>LED is OFF<p><a href=on.html>Turn ON</a> <a href=off.html>Turn OFF</a></html>
And when it is off, send:
<html><body>LED is ON<p><a href=on.html>Turn ON</a> <a href=off.html>Turn OFF</a></html>
Try it, create two text files, one called on.html and one off.html with the contents above. Open one of them. Click.
Your server needs to control the LED based on which page is requested, then send the appropriate html back. Depending on how much memory you want to use/waste, you can get all fancy with the HTML, but the above is pretty minimal (you could certainly even skip the <html> and <body> tags). The only difference is the word ON or OFF.