Skip to content

ServerStart.bat doesn't support IPv6 #88

Open
@algorythm

Description

@algorythm

Starting the server won't work on Windows if you have a public IPv6 address.

The script makes a ping to minecraftforge.net and tries to look for TTL in the response. Apparently, if the server returns an IPv6 address, the TTL is not included:

image

As I personally have a public IPv6 address, the server responds with IPv6 as well, causing the script to think, that I don't have internet.

The bash script uses the return code of the ping command instead of asserting on the output, so the issue only shows up on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions