Modern browsers block 10080 port with error: ERR_UNSAFE_PORT #8892

Closed
opened 2025-11-02 08:22:14 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @2375399351 on GitHub (May 1, 2022).

Description

The url automatically jumps to about:blank
DOMAIN = 192.168.2.240
SSH_DOMAIN = 192.168.2.240
HTTP_PORT = 3000
ROOT_URL = http://192.168.2.240:10080/
Only iOS had the problem
09EEC9A8-39DD-4743-9E38-7DB68F637DB7

Gitea Version

1.16.5

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

No response

Originally created by @2375399351 on GitHub (May 1, 2022). ### Description The url automatically jumps to about:blank DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:10080/ Only iOS had the problem ![09EEC9A8-39DD-4743-9E38-7DB68F637DB7](https://user-images.githubusercontent.com/34334506/166126982-24b8f6d4-aac0-40db-b109-f5c3310b4757.gif) ### Gitea Version 1.16.5 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? docker ### Database _No response_
GiteaMirror added the type/bug label 2025-11-02 08:22:14 -06:00
Author
Owner

@2375399351 commented on GitHub (May 1, 2022):

I try to turn off the content blocker and request desktop access, both get the same error

@2375399351 commented on GitHub (May 1, 2022): I try to turn off the content blocker and request desktop access, both get the same error
Author
Owner

@wxiaoguang commented on GitHub (May 1, 2022):

Can you reproduce the bug on the Gitea demo site?

Yes

If you are correct, please provide more clues from try.gitea.io. I have tested on iOS, try.gitea.io works correctly with iOS Safari.

At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem.

@wxiaoguang commented on GitHub (May 1, 2022): ``` Can you reproduce the bug on the Gitea demo site? Yes ``` If you are correct, please provide more clues from `try.gitea.io`. I have tested on iOS, `try.gitea.io` works correctly with iOS Safari. At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem.
Author
Owner

@wxiaoguang commented on GitHub (May 1, 2022):

If you need help other than bug report, please refer to : https://docs.gitea.io/en-us/seek-help/

You may need Support for the Chinese language is provided .... QQ Group 328432459

@wxiaoguang commented on GitHub (May 1, 2022): If you need help other than bug report, please refer to : https://docs.gitea.io/en-us/seek-help/ You may need `Support for the Chinese language is provided .... QQ Group 328432459 `
Author
Owner

@2375399351 commented on GitHub (May 1, 2022):

Can you reproduce the bug on the Gitea demo site?

Yes

If you are correct, please provide more clues from try.gitea.io. I have tested on iOS, try.gitea.io works correctly with iOS Safari.

At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem.

I found the reason.
app.ini:
APP_DATA_PATH = /data/gitea
DOMAIN = 192.168.2.240
SSH_DOMAIN = 192.168.2.240
HTTP_PORT = 3000
ROOT_URL = http://192.168.2.240:3000/
docker network:host
All my devices can be accessed through IP: 3000

app.ini:
APP_DATA_PATH = /data/gitea
DOMAIN = 192.168.2.240
SSH_DOMAIN = 192.168.2.240
HTTP_PORT = 3000
ROOT_URL = http://192.168.2.240:10080/
docker network:bridge
web_port 10080:3000
Only PC can access through IP: 10080
Mobile Access tips:net::ERR_UNSAFE_PORT

NAS IP:192.168.2.240
But I don't know the reason for this problem

Can you reproduce the bug on the Gitea demo site?

Yes

If you are correct, please provide more clues from try.gitea.io. I have tested on iOS, try.gitea.io works correctly with iOS Safari.

At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem.

I found the reason.
app.ini:
APP_DATA_PATH = /data/gitea
DOMAIN = 192.168.2.240
SSH_DOMAIN = 192.168.2.240
HTTP_PORT = 3000
ROOT_URL = http://192.168.2.240:3000/
docker network:host
All my devices can be accessed through IP: 3000

app.ini:
APP_DATA_PATH = /data/gitea
DOMAIN = 192.168.2.240
SSH_DOMAIN = 192.168.2.240
HTTP_PORT = 3000
ROOT_URL = http://192.168.2.240:10080/
docker network:bridge
web_port 10080:3000
Only PC can access through IP: 10080
Mobile Access tips:net::ERR_UNSAFE_PORT

NAS IP:192.168.2.240
But I don't know the reason for this problem

@2375399351 commented on GitHub (May 1, 2022): > ``` > Can you reproduce the bug on the Gitea demo site? > > Yes > ``` > > If you are correct, please provide more clues from `try.gitea.io`. I have tested on iOS, `try.gitea.io` works correctly with iOS Safari. > > At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem. I found the reason. app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:3000/ docker network:host All my devices can be accessed through IP: 3000 app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:10080/ docker network:bridge web_port 10080:3000 Only PC can access through IP: 10080 Mobile Access tips:net::ERR_UNSAFE_PORT NAS IP:192.168.2.240 But I don't know the reason for this problem > ``` > Can you reproduce the bug on the Gitea demo site? > > Yes > ``` > > If you are correct, please provide more clues from `try.gitea.io`. I have tested on iOS, `try.gitea.io` works correctly with iOS Safari. > > At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem. I found the reason. app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:3000/ docker network:host All my devices can be accessed through IP: 3000 app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:10080/ docker network:bridge web_port 10080:3000 Only PC can access through IP: 10080 Mobile Access tips:net::ERR_UNSAFE_PORT NAS IP:192.168.2.240 But I don't know the reason for this problem
Author
Owner

@2375399351 commented on GitHub (May 1, 2022):

Can you reproduce the bug on the Gitea demo site?

Yes

If you are correct, please provide more clues from try.gitea.io. I have tested on iOS, try.gitea.io works correctly with iOS Safari.
At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem.

I found the reason. app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:3000/ docker network:host All my devices can be accessed through IP: 3000

app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:10080/ docker network:bridge web_port 10080:3000 Only PC can access through IP: 10080 Mobile Access tips:net::ERR_UNSAFE_PORT

NAS IP:192.168.2.240 But I don't know the reason for this problem

Can you reproduce the bug on the Gitea demo site?

Yes

If you are correct, please provide more clues from try.gitea.io. I have tested on iOS, try.gitea.io works correctly with iOS Safari.
At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem.

I found the reason. app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:3000/ docker network:host All my devices can be accessed through IP: 3000

app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:10080/ docker network:bridge web_port 10080:3000 Only PC can access through IP: 10080 Mobile Access tips:net::ERR_UNSAFE_PORT

NAS IP:192.168.2.240 But I don't know the reason for this problem

I know the reason. Port 10080 is not secure and is shielded by default

@2375399351 commented on GitHub (May 1, 2022): > > ``` > > Can you reproduce the bug on the Gitea demo site? > > > > Yes > > ``` > > > > > > > > > > > > > > > > > > > > > > > > If you are correct, please provide more clues from `try.gitea.io`. I have tested on iOS, `try.gitea.io` works correctly with iOS Safari. > > At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem. > > I found the reason. app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:3000/ docker network:host All my devices can be accessed through IP: 3000 > > app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:10080/ docker network:bridge web_port 10080:3000 Only PC can access through IP: 10080 Mobile Access tips:net::ERR_UNSAFE_PORT > > NAS IP:192.168.2.240 But I don't know the reason for this problem > > > ``` > > Can you reproduce the bug on the Gitea demo site? > > > > Yes > > ``` > > > > > > > > > > > > > > > > > > > > > > > > If you are correct, please provide more clues from `try.gitea.io`. I have tested on iOS, `try.gitea.io` works correctly with iOS Safari. > > At least you should clarify why the browser doesn't work. It's very likely your configuration or network problem. > > I found the reason. app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:3000/ docker network:host All my devices can be accessed through IP: 3000 > > app.ini: APP_DATA_PATH = /data/gitea DOMAIN = 192.168.2.240 SSH_DOMAIN = 192.168.2.240 HTTP_PORT = 3000 ROOT_URL = http://192.168.2.240:10080/ docker network:bridge web_port 10080:3000 Only PC can access through IP: 10080 Mobile Access tips:net::ERR_UNSAFE_PORT > > NAS IP:192.168.2.240 But I don't know the reason for this problem I know the reason. Port 10080 is not secure and is shielded by default
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8892