This more out of curiosity than anything else, but is it possible to set up port forwarding for my server on my router, but run my server from an internet connection independent of my router? For example, if I am on vacation someplace, and I want to turn on my server, can I configure my server to port forward via my router even though I am not connected to my home internet? I know that there is a server-ip option in server.properties, and I am just wondering if that does what I am talking about here.
To host a server locally you will have to be connected to the router you have it port-forwarded to. I just ran a test and set up a quick server and port forwarded it, When I disconnected from my internet the server does not start due to the fact that when someone comes into your router on port 25565(the port I use this may vary) it sends them to my laptops ip which is hosting the server if you are not connected to the router it will not find your laptops ip
I don't think you quite understand what it is that I am trying to do. I would like to port forward my server through my router even when I am on vacation and using another internet connection that is not my home's internet connection. Can you do that? It just seems to me as if it would be possible because of how you can forward your server through Hamachi.
Oh I know what you mean now, I thought you meant if you wern't connected to the internet at all on vacation, I still don't think you can on another internet connection. I recommend going to the 'Portforwarding Megathread' to ask further questions.
I am confused... if you have the server working now and you have port forwarding set up correctly and players can connect to it from outside your local LAN, then why does it matter if you are on holiday?
Unless you are taking the machine the server runs on with you, in which case Resurection's first post is more than likely correct. Most consumer grade 'routers' will only redirect traffic to IP ranges they are directly connected to. But only the support group for your router would be able to answer that for sure, unless it's listed in whatever documentation is included with the device.
In theory, if your would allow you to put an external real world IP in the field, it would be more of a redirection than a port forward, and you would still have to set up some kind of forwarding at the location you are at.
But in that case, I would think that you would be better off setting up a domain name that you can change the IP on when you are not at home or look into some kind of VPN software, but that would probably be too much work for the return.
My suggestion would be to just run the server on a stand-alone machine at your place and be done with it.
Rollback Post to RevisionRollBack
Former Support Guru and bukkit admin, master of the I-have-little-time-so-I-drive-by-post style.
Please don't PM me for help, PM's don't help the community at large as it's not publicly viewable.
Use pastie or pastebin for config files, I do not download them.
I only have one computer in my house powerful enough to run a server with minimal lag, and that is my laptop. Trying to use another computer always fails. This is why I must figure out if this is possible. As for what your saying about the domain, I already have my server set up with No-IP to redirect to the I.P. address the www.whatismyip.com gives me. Are you saying that by changing that, I should be able to host the server the way I want to?
Also, what address does www.whatismyip.com give you? Whenever I run ipconfig in the command console, I do not see it listed. All I know is that when I type in the address that I have with No-IP, it redirects me to my router login.
This more out of curiosity than anything else, but is it possible to set up port forwarding for my server on my router, but run my server from an internet connection independent of my router? For example, if I am on vacation someplace, and I want to turn on my server, can I configure my server to port forward via my router even though I am not connected to my home internet? I know that there is a server-ip option in server.properties, and I am just wondering if that does what I am talking about here.
Thanks,
TheResurection
Unless you are taking the machine the server runs on with you, in which case Resurection's first post is more than likely correct. Most consumer grade 'routers' will only redirect traffic to IP ranges they are directly connected to. But only the support group for your router would be able to answer that for sure, unless it's listed in whatever documentation is included with the device.
In theory, if your would allow you to put an external real world IP in the field, it would be more of a redirection than a port forward, and you would still have to set up some kind of forwarding at the location you are at.
But in that case, I would think that you would be better off setting up a domain name that you can change the IP on when you are not at home or look into some kind of VPN software, but that would probably be too much work for the return.
My suggestion would be to just run the server on a stand-alone machine at your place and be done with it.
Also, what address does www.whatismyip.com give you? Whenever I run ipconfig in the command console, I do not see it listed. All I know is that when I type in the address that I have with No-IP, it redirects me to my router login.