Hello people. I am trying to develope a html link that when i click on ym web site will contact my c+ server. In this link i wish to tack on the end a variable like how people do it in php
heres an example
www.site.com/?variable
I know so far that if my server is running and i type local host into my web browser that it will make a connetion with my server. So the concept is working right. This will only work with my loopback address 127.0.0.1 and local host which are the same thing. If i try to use my ip address for this, it will not work. this is veyr annoying and i dont understand why if my loopback address works why wont my ip. I need to be able to use my ip to finish this concept to fully work.
Ive come to a few conclusions. Either it is a port forwarding problem or i need to use a domain name to do that. I want to do all of this without having to upload a web site, and all. I hear it is possable to type your ip address into a browser and connect with your home server. please help thank you and good bye.
I don't understand what you are asking? Are you trying to create a website using your home computer as a server and you are unable to connect when outside your network?
This isn't really a C++ problem, if you can connect to the server when on the computer than it's probably your router. You need to make it so that it forwards all data send to your router on a specific port to that specific machine.