Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

How do I change the port to which the launcher is accessed? #62

Open
mrrlll opened this issue Apr 28, 2022 · 3 comments
Open

How do I change the port to which the launcher is accessed? #62

mrrlll opened this issue Apr 28, 2022 · 3 comments

Comments

@mrrlll
Copy link

mrrlll commented Apr 28, 2022

The home server is separated from the main PC network.
We have opened the port to allow access from the outside.
But, port 80 is already used by Apache2.
The port entry for launcher in config.json has been changed from 80 to 8080.
However, mhf.exe on the client side is trying to access port 80 and returns a 404 Error.
How can I change the access point of the launcher?

This text is translated using DeepL.

Translated with www.DeepL.com/Translator (free version)

@Ciehdy
Copy link

Ciehdy commented May 21, 2022

改端口ip.docx
I wrote a word, which records how I solve this problem, but I'm a little lazy, you need to translate yourself

@Stefan240
Copy link
Collaborator

Hello I did not have the time to work on the documentation here for a while. But this might help you out: https://mhf.lightnovel-dungeon.de/mhf-setup.html I will somewhen update this for this repo as well

@matthe815
Copy link

matthe815 commented Aug 11, 2022

日本語:

私は自分のサーバーを作ったらそんな問題あった、PortProxyを使えばそのApache2のサーバーを使えなくなるけど80の他に繋げます
管理人のコマンドプロンプトでこれを使ってみてください

netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=80 connectaddress=127.0.0.1 connectport=8080

connectaddressを変えるとlocalhost以外のサーバーに繋げます

English:

For a personal solution you may use portproxy on netsh for windows.
In an administrator command prompt, you may run:

netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=80 connectaddress=127.0.0.1 connectport=8080

Changing the connectaddress IP will allow you to connect to foreign servers as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants