I'm not sure exactly how it is set up at the datacenter and what equipment they are routing through, but I know I am able to set up static IP's within my subnet range (as I did with the .163 address). For example, I just added a new interface to my /etc/network/interfaces for the ip address xxx.xxx.xxx.162 and it is pingable and ssh able, but not minecraftable!
With the more troubleshooting I have been doing I believe is a a port issue with Debian's internal firewall. I will check iptables and report back with my findings.
So you have 2 ethernet connections to a single machine with .164 being its ip address but you want the server to run on .163 which is also asigned? Why?
A single computer having 2 active IP address is, for all intents and purposes, not possible in this situation. The 2 interfaces must be on different networks in order to work properly.
Side note. You dont need to hide your internal IP addresses. We can't do anything with them. Further, no subnet mask gives you exactly 256 usable IP addresses. Your subnet gives you only 254. The first and last IPs of a given range are reserved for the network and broadcast.
Thanks for the reply!
I want Minecraft to be segmented off on its own IP as I use the others for separate ventures.
This config does work with other programs such as binding IPs to separate instances of apache, ssh, etc, but for some reason not Minecraft. I assumed that the server-ip option is for deciding which IP/Interface to bind to, unless I am mistaken?
I hid the IPs because they are not internal, they are all WAN facing and I am still setting up some stuff on the machine and a lot of it is insecure as I haven't begun to work on my security settings/account permissions. And yes I know I technically only have 254 usable, working in the industry I have just always referred to it as a 256 block as defined by the netmask =)
I have been beating my head against the wall trying to solve this specific issue relating to the use of the
server-ip option in my config.
Some background:
I have a whole block of 256 IP's
I installed debian 7.5 and edited /etc/network/interfaces to add the following
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address xxx.xxx.xxx.164
netmask 255.255.255.0
network xxx.xxx.xxx.xxx
broadcast xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx
auto eth1
iface eth1 inet static
address xxx.xxx.xxx.163
netmask 255.255.255.0
Where eth1 is the interface that I want to run my Minecraft server on and eth0 is my server's IP. When I set server-ip to blank, I can connect to the server, when use server-ip=xxx.xxx.xxx.164, I can connect, but when I use server-ip=xxx.xxx.xxx.163, I cannot connect.
Here is what the Minecraft client returns:
[21:33:23] [Client thread/INFO]: Connecting to xxx.xxx.xxx.163, 25565
[21:33:25] [Server Connector #1/ERROR]: Couldn't connect to server
java.net.ConnectException: Connection refused: no further information: /xxx.xxx.xxx.163:25565
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[?:1.7.0_45]
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source) ~[?:1.7.0_45]
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:191) ~[netty-all-4.0.10.Final.jar:?]
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:228) ~[netty-all-4.0.10.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:497) ~[netty-all-4.0.10.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:447) ~[netty-all-4.0.10.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:341) ~[netty-all-4.0.10.Final.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) ~[netty-all-4.0.10.Final.jar:?]
at java.lang.Thread.run(Unknown Source) ~[?:1.7.0_45]
The server returns no error/log.
I am able to ping eth1 no problem, I can even connect to ssh using it, but not minecraft!
I have done some netstat debugging and can see that IP listening on 25565 like it should, but there is still no response on connecting.
I recently started a new Tekkit server out of the ashes Capitalist Craft which I used to host. The old concept focused on buying a plot in a city and building off of that, in Political Craft, the focus is on forming your own countries and forging political alliances!
This is a heavy economy-based server focusing on the exchange of goods and services. To start making money, I suggest going out and mining for a while to get some stuff to sell. You then may go back to spawn to sell it, or sell it to other players!
Land is currently dirt cheap (0.02 dollars per block [you start with 50k C:]) and I want to focus on people forming large nations. Using the mod called "Residence" you may buy land and protect it from grief! the mod "LWC" is also added so you may protect your machines and chests!
So come on by! No whitelist and we are open 24/7!
######################################################################
THIS SERVER REQUIRES TEKKIT, DOWNLOAD HERE: http://www.technicpack.net/tekkit/
######################################################################
Rules:
Be respectful of others and their property.
No spamming of any kind, chat or block.
No third party programs/scripts or X-Rays.
No excessive trolling, vulgarity, or racism.
No huge laggy machines/turn machines off when AFK
Stealing and Griefing is allowed if the item is not locked/in unowned land.
PVP is allowed in the wilderness.
Don't beg for staff.
In fact, no begging in general.
Admins have the right to change rules as they see fit.
Banned Items/Mods:
ALL OF EQUIVALENT EXCHANGE, THIS IS AN ECONOMY SERVER!
Nukes
Quantum CHest
Mining Laser
Nether Ores
Additional Pipes (lag)
World Anchors
Mods:
Tekkit
Bukkit
Lift
LWC
Residence
Essentials
Coming Soon: esbern.org (forums and website!)
Questions/comments? Contact esbern at [email protected] or add commgdog on steam!
Forgot to post here, Yes the map is updated and there are lots of new rules! Visit esbern.org to see all of the rules (there are to many to post here lol).
I have just rolled back the computers 24 hours due to griefing, if you made a computer within this time, I would suggest checking them. To prevent this in the future use /cprivate to lock your computers!
Sorry for the inconvenience this has caused anyone.
0
0
With the more troubleshooting I have been doing I believe is a a port issue with Debian's internal firewall. I will check iptables and report back with my findings.
0
Thanks for the reply!
I want Minecraft to be segmented off on its own IP as I use the others for separate ventures.
This config does work with other programs such as binding IPs to separate instances of apache, ssh, etc, but for some reason not Minecraft. I assumed that the server-ip option is for deciding which IP/Interface to bind to, unless I am mistaken?
I hid the IPs because they are not internal, they are all WAN facing and I am still setting up some stuff on the machine and a lot of it is insecure as I haven't begun to work on my security settings/account permissions. And yes I know I technically only have 254 usable, working in the industry I have just always referred to it as a 256 block as defined by the netmask =)
0
I have been beating my head against the wall trying to solve this specific issue relating to the use of the
server-ip option in my config.
Some background:
I have a whole block of 256 IP's
I installed debian 7.5 and edited /etc/network/interfaces to add the following
Where eth1 is the interface that I want to run my Minecraft server on and eth0 is my server's IP. When I set server-ip to blank, I can connect to the server, when use server-ip=xxx.xxx.xxx.164, I can connect, but when I use server-ip=xxx.xxx.xxx.163, I cannot connect.
Here is what the Minecraft client returns:
The server returns no error/log.
I am able to ping eth1 no problem, I can even connect to ssh using it, but not minecraft!
I have done some netstat debugging and can see that IP listening on 25565 like it should, but there is still no response on connecting.
Other notes:
Using Minecraft 1.7.9
PS: I have omitted the actual IP.
0
Great ping and friendly staff.
Would recommenced.
0
-Aristotle
I recently started a new Tekkit server out of the ashes Capitalist Craft which I used to host. The old concept focused on buying a plot in a city and building off of that, in Political Craft, the focus is on forming your own countries and forging political alliances!
This is a heavy economy-based server focusing on the exchange of goods and services. To start making money, I suggest going out and mining for a while to get some stuff to sell. You then may go back to spawn to sell it, or sell it to other players!
Land is currently dirt cheap (0.02 dollars per block [you start with 50k C:]) and I want to focus on people forming large nations. Using the mod called "Residence" you may buy land and protect it from grief! the mod "LWC" is also added so you may protect your machines and chests!
So come on by! No whitelist and we are open 24/7!
######################################################################
THIS SERVER REQUIRES TEKKIT, DOWNLOAD HERE: http://www.technicpack.net/tekkit/
######################################################################
Rules:
Mods:
Questions/comments? Contact esbern at [email protected] or add commgdog on steam!
0
0
http://www.esbern.org/index.php?threads/server-elections-politics-politics-politics.51/
0
0
0
Sorry for the inconvenience this has caused anyone.
0
0
Check it out: http://dev.bukkit.org/server-mods/lwc/
Also, I finished the website, view it @ www.esbern.org
0
The ip esbern.org WILL still work, but the other one has been changed to 209.222.91.50
Enjoy the the 0 lag!
0
If you follow the instructions at spawn and vote, you get a free diamond!