Comments (6)
Hi
What is your use case?
You can change the public port in docker run or docker compose.
For example use this:
9999:1080
from warp-svc.
I'm using XRay (Marzban, 3x-ui), port 1080 is used for the shadowsocks protocol (standard port)
{
"tag": "Shadowsocks TCP",
"listen": "0.0.0.0",
"port": 1080,
"protocol": "shadowsocks",
"settings": {
"clients": [],
"network": "tcp,udp"
}
fro entrypoint.sh:
socat tcp-listen:1080,reuseaddr,fork tcp:localhost:40000 &
netstat -plnut
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:1080 0.0.0.0:* LISTEN 316054/socat
from warp-svc.
create a directory:
mkdir warp
cd warp
create a docker-compose.yml
file with this content:
version: "3"
services:
warp:
image: aleskxyz/warp-svc:latest
environment:
WARP_LICENSE: xxxxxxxx-xxxxxxxx-xxxxxxxx
ports:
- 127.0.0.1:2323:1080
restart: always
volumes:
- ./warp:/var/lib/cloudflare-warp
run docker compose:
docker compose up -d
Now you can use socks on 127.0.0.1:2323 and use it in xray
from warp-svc.
does not work
port 1080 is busy a socat from docker
from warp-svc.
https://github.com/SuperNG6/docker-warp-proxy
from warp-svc.
Hello, I support adding an environment variable to control the listening port of socat.
When I use --net=host
so that WARP can use the host's IPv6 network stack, I cannot change the listening port using docker's port mapping, and 1080 is a very common port that is prone to conflicts.
from warp-svc.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warp-svc.