Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only working on port 19132 #29

Closed
counterfitninja opened this issue Oct 24, 2019 · 12 comments
Closed

Only working on port 19132 #29

counterfitninja opened this issue Oct 24, 2019 · 12 comments
Labels
troubleshooting Troubleshooting an issue but not sure if it's a bug

Comments

@counterfitninja
Copy link

I have 2 server running on the same remote server but on different ports. It seems that Phantom only works on port 19132. If i use port 19134 it does not show up.

@jhead
Copy link
Owner

jhead commented Oct 26, 2019

Hey @counterfitninja, you don't actually need to use a different port. phantom will automatically select a port and tie the LAN entry on the server list to that port. Using a different port in phantom will cause it to not show up on the LAN list.

Example below, I tested with two servers and was able to connect to both:

Screen Shot 2019-10-26 at 10 28 21 AM

IMG_6950

@jhead jhead added the troubleshooting Troubleshooting an issue but not sure if it's a bug label Oct 26, 2019
@counterfitninja
Copy link
Author

I'm not trying to use different ports on phantom.
I have two bedrock servers running on the same azure vm server but they run off different port to allow 2 server to run off the one server. I then want phantom to run locally so they both show up.

@jhead
Copy link
Owner

jhead commented Oct 26, 2019

Hmm, I'm not seeing the issue when trying the same setup. I've got two remote servers configured on different ports 19132 and 19134.

Screen Shot 2019-10-26 at 10 45 19 AM

IMG_6951

The only difference compared to yours is probably that they're different IPs. I tried it with two Docker containers running Bedrock on the same PC on different ports and got the same result -- both show up on iOS and I can connect.

@counterfitninja
Copy link
Author

Ill do a little more testing with my RPi but at the moment Phantom is not showing up on my xbox at all at the moment, so until i sort that, i cant do much testing.

@counterfitninja
Copy link
Author

So i have been doing a lot of testing to try and determine what is going on and why im seeing different results than you. All this has been tested on my win2019 server and raspberry Pi, both to my own server and the two servers you highlight above.

Test 1) Using the 0.1.0 release of Phantom both server on port 19132 show up in Minecraft ( On Win10 and Android)

Test 2) Using the 0.1.0 release of Phantom both server on port 19134 show up in Minecraft ( On Win10 and Android)

Test 3) using Release 0.2.1 and phantom running a single session of phantom connecting to my server on port 19132 show up in Android and NOT on Win10 Minecraft

Test 4) using Release 0.2.1 and phantom running a single session of phantom connecting to Cubed.host on port 19132 shows up on Android and Windows without issue.

Test 5) using Release 0.2.1 and phantom running a single session of phantom connecting to my server on port 19134 does not show up on either device

Test 6) using Release 0.2.1 and phantom running a single session of phantom connecting to cubed host on port 19134 does not show up on either device.

Im not quite sure what conclusions to draw here. The newer code is stopping something for me on ports that are not 19134 but it also seems like my own server is doing something slightly different than Cubed.host. The main difference i can see is that im running the offical 1.3.0 Bedrock Server and Cubed are running pocketmine.

@counterfitninja
Copy link
Author

Hey All, I think this can now be closed. After the release of v4 i started to a lot more digging. It seemed that new created servers were working fine. So i did a lot of digging and this morning i noticed an NBT tag within the level called LANBroadcast which was set to0. I have to assume this got set through some testing on a local machine. However setting LANBroadcast to 1 thkough MCCtoolchest enabled Phantom to broadcast my network properly. really happy this is now working as expected. Great work. Can i donate to the project anywhere?

@jhead
Copy link
Owner

jhead commented Apr 13, 2020

Hey @counterfitninja, glad you got it working! That's a pretty strange solution. This server that you had trouble with -- it was remote, right? It wasn't on your LAN?

@counterfitninja
Copy link
Author

Yeah all my servers are on Microsoft Azure. The old version of phantom used to work but not newer ones. So when you released 4 I decided to take a deep dive at what was up considering new servers seems to be fine. This one certainly took some hunting but thought I needed to document my findings in case others have the same thing.

@imnotjack91
Copy link

@counterfitninja i too am attempting to leverage azure but not quite to do the hosting, i have some questions about azure that i have been struggling to make happen. when you have a chance can we talk?

@counterfitninja
Copy link
Author

I have just stuck my email on my profile. Drop me a line and ill see if i can help

@imnotjack91
Copy link

just emailed you. feel free to remove it again

@Arnesh148
Copy link

Hello can anybody help me i am new i dont know how it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
troubleshooting Troubleshooting an issue but not sure if it's a bug
Projects
None yet
Development

No branches or pull requests

4 participants