Open xiaojieTao opened 1 year ago
I see this too. Running via Docker. This is because I changed:
# Jetty configuration
#
server.host = 0.0.0.0
in main.properties to my machine's IP address.
e
Have you fixed the problem? I'm still stuck with it.
Please heeeeeeeeelp!
Could you try again with the latest commit on master? You should have more details to share in logs.
Could you try to put back: server.host = 0.0.0.0 ?
@pjjjv @juherr
Thank you both for the help. I can now run Steve in Docker on a MacBook M1 with the latest commit but I still have a question regarding IP address and URL. I docker-compose with the default configuration and the the URL is
2023-09-26 15:37:18 steve-app-1 | Done!
2023-09-26 15:37:18 steve-app-1 | Hint: You can stop the application by pressing CTRL+C
2023-09-26 15:37:18 steve-app-1 |
2023-09-26 15:37:18 steve-app-1 | Access the web interface using
2023-09-26 15:37:18 steve-app-1 | - http://172.24.0.3:8180/steve/manager/home
2023-09-26 15:37:18 steve-app-1 | SOAP endpoint for OCPP
2023-09-26 15:37:18 steve-app-1 | - http://172.24.0.3:8180/steve/services/CentralSystemService
2023-09-26 15:37:18 steve-app-1 | WebSocket/JSON endpoint for OCPP
2023-09-26 15:37:18 steve-app-1 | - ws://172.24.0.3:8180/steve/websocket/CentralSystemService/(chargeBoxId)
However, the URL 'http://172.24.0.3:8180/steve/manager/home' doesn't open. I have to put my Mac's Local IP address in the URL 'http://192.168.10.170:8180/steve/manager/home' to access Steve's home page. Is this the expected behavior of Steve? How can I access Steve now through internet instead of the LAN of one router only?
I know very little about computer network and I apologize for any misuse of its terminology.
This is how it works inside containers, not too much You can do.
If You need to run an instance available on the internet - run Steve on Ckoud, sample instructions here: https://github.com/steve-community/steve/wiki/Create-SteVe-Instance-in-AWS-Lightsail
or solutions like ngrok https://medium.com/weekly-webtips/lets-expose-a-local-webserver-to-the-internet-with-ngrok-c14646fb7821
I tried setting up port forwarding on my router (8180 forwarded to 8180) but I still cannot access the Steve admin page through my router's public IP address (http://<my router's public IP>:8180/steve/manager/signin). Is this a bug of Steve or I am doing something wrong? There is no one talking about port forwarding on this repo so I feel I shouldn't use port forwarding to expose Steve to public internet.
Checklist
Specifications
Expected Behavior
Steve should build and run successfully when configured to bind to the actual IP address of the machine. ...
Actual Behavior
When configuring Steve to bind to the loopback address (127.0.0.1), the server successfully builds and runs. However, when attempting to configure the server to bind to the actual IP address of the machine (to listen to remote devices), the server builds successfully but does not run as expected. ...
Steps to Reproduce the Problem
Additional context
The Ubuntu console messages right after attempting to run Steve
The log right after attempting to run Steve and failed
...