How would I find the IP adress that I would need to connect to once I am hosting an OINC or web server through MMF2? All I can find is my local IP, but not the one I am hosting at.
Thanks, LB.
Printable View
How would I find the IP adress that I would need to connect to once I am hosting an OINC or web server through MMF2? All I can find is my local IP, but not the one I am hosting at.
Thanks, LB.
whatismyip.com or something like that. Just google.
Also, you could get a program called DynDNS, that automatically redirects a domain (like lb.ath.cx) to your IP.
I found a site, but the IP I connect to still won't load. I have it so when the GET command is sent I sen the string "Yay it works!" back to wherever it cam from. I have my computer hooked to a firwall/network router and then to my AT&T router thing and then to the plug in the wall. Is it possible AT ALL for me to host a webserver/OINC server as is?
When you connect to the server you're hosting, you have to take 127.0.0.1. (Or localhost, which redirects to 127.0.0.1)
Also, you need to forward port 6121... google a while, you'll find a tutorial
What do you mean I have to "take 127.0.0.1"? I did some googling and nothing I tried worked. Does the setup I have prevent me from hosting a server than can be connected to?
Edit: maybe you could upload a working example with info on how to connect to it in good detail? Thanks for your help so far!
Type 127.0.0.1 in the browser's address bar and click "Go".
What is it suppost to do, I just still get the same cannot find server error. I also could not connect to the OINC host server thing that came with the most recent OINC version, It said it was hosting but I was not able to connect to it. Also a self-IP feature would be nice to have for this.
Host the webserver on port 80 and try that again. Alternatively, add the port after the address:
http://127.0.0.1:6121
I am still hosting the server on port 80 and I keep trying to load that IP but it still gives me an error that the page doesn't exist, am I doing something wrong with my code? All I have is to host webserver on port 80 and upon the GET command start webserver response then send text "YAY it works!" but it's not doing that, and there is no way to see if the server is being hosted succesfully.
Edit: Can you just tell me my IP from this post?
I'm not sure this will help but this is how I did it.
Forwarding in the router
1. Went in to my router via the browser (Firefox for me). Typed 192.168.0.1 in browser address field. This will usually launch the router application.
2. Login - you should have information in router manual what login and password are the first time. These should be changed!
3. I have a d-link router so I selected 'Advanced' from the menu and then 'Virtual server'.
3. I wrote oinc for Application (any name is ok here). Selected the computer in drop list. Wrote 6121 (in this example) for public and private port.
4. Saved and exit.
5. In the ini file for MMF game client app you change the server to the ip number you got when you ran:
http://www.ip-adress.com/
That's it!
(if I forgot something I'm sure someone can add it) :)
Yeh, what Tiny said. All routers should be able to port foward, I don't know any that don't.
To find out your routers IP address, goto Start -> Run. Type in "cmd", you should get a commandline screen. Type in "ipconfig" and press enter. You should get some results, find the bit where it says "Default Gateway".
Well I know my own IP adress for my router, but my parents decided they didn't want me "messing" with the router's settings. Bummer, but I'd rather follow thier rules, plus I don't even know the passowrd.
Default router password list - http://www.phenoelit-us.org/dpl/dpl.html
My dad changed it, he told me so, I already know about that list. Like I said, I have no intentions to disobey my parents.
Yeah.. okay. Really nothing to do with us then :)
Very good to hear this for a change! I'd be very proud to have a child like you. :cool:Quote:
Originally Posted by _LB
As a parent I can tell you it will "pay off" in the long run. :)
Would it work to set the port in the INI file to 80 (normal browser port)?
I am hosting on port 80!
You don't need to forward a port for outgoing connections (like for web browsing).
Well then how come I get a cannot connect to server error? IE stays connected waiting for a reply for a while then it just gices up. I have my webserver to send "Yay it works!" upon GET request.
If YOU are hosting the web server then it is an INCOMING connection, and would need the port forwarded. Note that your ISP may block incoming port 80 themselves, if their TOS forbids running web servers on your connection.
I don't recommend Portforward.com, they have a habit of telling you to forward for incoming every port that an application only needs open for outgoing. In some cases asking you to forward more ports for one app than the router allows in total (especially if said router doesn't support forwarding port ranges), when only one needs to be forwarded. e.g. all source and unreal engine games need one UDP port for game data and one TCP port for server admin forwarded for incoming connections, but look at how many portforward.com tells you to forward. Ports 7777-7788 (12 ports), plus a few others for UT2004, and 27020-27039 (20 ports) plus 27000-27015 (16 more ports) for CS:S? You only need 7777 and 27015 respecively, but they tell you so many more...
In case your ISP blocks p 80, you can host on another port, and access the website like this: http://yoursite.com:port/
E.g. http://google.com:80/ (:80 is the default for http)
I know about the port for browser, but it isn't working even from my own machine/local IP adress. Could somone post a working server example with OINC so I can see if I'm doing something wrong server side?