{"id":15127509,"url":"https://github.com/zcube/factorio-port-fixer","last_synced_at":"2026-02-11T11:35:24.981Z","repository":{"id":140819815,"uuid":"585177103","full_name":"ZCube/factorio-port-fixer","owner":"ZCube","description":"for Factorio headless server.","archived":false,"fork":false,"pushed_at":"2024-11-09T10:27:57.000Z","size":43,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T00:42:12.596Z","etag":null,"topics":["docker","factorio","server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZCube.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-04T14:12:00.000Z","updated_at":"2024-11-09T08:33:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"012aee11-ee50-4f1b-9c59-e013fc8a817c","html_url":"https://github.com/ZCube/factorio-port-fixer","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ZCube/factorio-port-fixer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZCube%2Ffactorio-port-fixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZCube%2Ffactorio-port-fixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZCube%2Ffactorio-port-fixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZCube%2Ffactorio-port-fixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZCube","download_url":"https://codeload.github.com/ZCube/factorio-port-fixer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZCube%2Ffactorio-port-fixer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","factorio","server"],"created_at":"2024-09-26T02:04:43.453Z","updated_at":"2026-02-11T11:35:24.967Z","avatar_url":"https://github.com/ZCube.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# factorio-port-fixer\n\n## Matching Server Port fixer\n\n## Usage\n\n* Add /etc/hosts or c:\\windows\\system32\\drivers\\etc\\hosts\n  ```\n  144.24.94.63 pingpong1.factorio.com\n  144.24.94.63 pingpong2.factorio.com\n  144.24.94.63 pingpong3.factorio.com\n  144.24.94.63 pingpong4.factorio.com\n  ```\n* Add extra_hosts (docker-compose)\n  ```\n  extra_hosts:\n    - 'pingpong1.factorio.com:144.24.94.63'\n    - 'pingpong2.factorio.com:144.24.94.63'\n    - 'pingpong3.factorio.com:144.24.94.63'\n    - 'pingpong4.factorio.com:144.24.94.63'\n  ```\n\n* 144.24.94.63 is sample server.\n\n## Example\n\n* local mode (with ipify)\n\n```yaml\nversion: '3.5'\n\nservices:\n  pingpong:\n    image: ghcr.io/zcube/factorio-port-fixer:main\n    command: /factorio-port-fixer local --ip=0.0.0.0 --port=34197 --remotePort=${PORT:-34197}\n    restart: unless-stopped\n    environment:\n      - PORT=${PORT:-34197}\n    logging:\n      driver: \"json-file\"\n      options:\n        max-size: \"1m\"\n    healthcheck:\n      test: curl --fail 127.0.0.1:34197/health || exit 1\n      interval: 20s\n      retries: 5\n      start_period: 20s\n      timeout: 10s\n\n  factorio:\n    image: factoriotools/factorio:stable\n    restart: unless-stopped\n    environment:\n      - PORT=${PORT:-34197}\n      - TZ=UTC\n      - TOKEN=${TOKEN}\n    ports:\n      - \"${PORT:-34197}:${PORT:-34197}/udp\"\n      - \"27015:27015/tcp\"\n    volumes:\n      - /etc/localtime:/etc/localtime:ro\n      - ./factorio:/factorio\n      \n    links:\n      - \"pingpong:pingpong1.factorio.com\"\n      - \"pingpong:pingpong2.factorio.com\"\n      - \"pingpong:pingpong3.factorio.com\"\n      - \"pingpong:pingpong4.factorio.com\"\n    healthcheck:\n      test: curl --fail pingpong:34197/health_for_factorio || exit 1\n      interval: 20s\n      retries: 5\n      start_period: 20s\n      timeout: 10s\n```\n\n* remote mode\n\n```yaml\nversion: '3.5'\n\nservices:\n  factorio:\n    image: factoriotools/factorio\n    restart: unless-stopped\n    ports:\n     - \"34197:34197/udp\"\n     - \"27015:27015/tcp\"\n    volumes:\n     - /etc/localtime:/etc/localtime:ro\n     - ./factorio:/factorio\n    environment:\n     - TZ=UTC\n    # sample server on oci remote port 34197 fixed\n    extra_hosts:\n     - 'pingpong1.factorio.com:144.24.94.63'\n     - 'pingpong2.factorio.com:144.24.94.63'\n     - 'pingpong3.factorio.com:144.24.94.63'\n     - 'pingpong4.factorio.com:144.24.94.63'\n    healthcheck:\n      test: curl --fail 144.24.94.63:34197/health_for_factorio || exit 1\n      interval: 20s\n      retries: 5\n      start_period: 20s\n      timeout: 10s\n```\n\n* pingpong server for remote mode (144.24.94.63)\n```yaml\nversion: '3'\nservices:\n  factorio:\n    image: ghcr.io/zcube/factorio-port-fixer\n    restart: unless-stopped\n    ports:\n     - \"34197:34197/udp\"\n     - \"34197:34197/tcp\"\n```\n## License\n\nMIT License\n\nCopyright (c) 2023 ZCube\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcube%2Ffactorio-port-fixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzcube%2Ffactorio-port-fixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcube%2Ffactorio-port-fixer/lists"}