marauder666 Posted Saturday at 09:51 AM Share Posted Saturday at 09:51 AM @Al_Nafuur Finally got the local server running on a linux machine, a bit of a pain due port 80 not being authorised as the simple web server doesnt run as root. Any chance it's possible to have a port number in the setup. This would also help on MacOS. 1 Quote Link to comment Share on other sites More sharing options...
+karri Posted Saturday at 10:46 AM Share Posted Saturday at 10:46 AM One way is to listen to 8080 and have a local re-direct to localhost:80. I have a faint memory that I solved it that way years ago... Perhaps something like: sudo iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-ports 8080 1 Quote Link to comment Share on other sites More sharing options...
marauder666 Posted Saturday at 03:13 PM Share Posted Saturday at 03:13 PM I used authbind. Worked well enough, but would be nice to just use port 8080. Quote Link to comment Share on other sites More sharing options...
+Al_Nafuur Posted 7 hours ago Author Share Posted 7 hours ago On 9/28/2024 at 11:51 AM, marauder666 said: @Al_Nafuur Finally got the local server running on a linux machine, a bit of a pain due port 80 not being authorised as the simple web server doesnt run as root. Any chance it's possible to have a port number in the setup. This would also help on MacOS. Yes, that would be a desirable feature, but I shy away from adding more to the settings. Quote Link to comment Share on other sites More sharing options...
marauder666 Posted 4 hours ago Share Posted 4 hours ago 3 hours ago, Al_Nafuur said: Yes, that would be a desirable feature, but I shy away from adding more to the settings. Could always put it on the end of the IP address, if not entered, assume 80. Quote Link to comment Share on other sites More sharing options...
+Al_Nafuur Posted 4 hours ago Author Share Posted 4 hours ago 7 minutes ago, marauder666 said: Could always put it on the end of the IP address, if not entered, assume 80. That would result in a bit of additional parsing in the firmware. It might be possible to "hack" the current firmware. instead of using: your.ip-address:8080 as host you might try: your.ip-address","8080 The port in the AT-Command should be a number, so I am not sure the ESP8266 will accept it as string. The original port number 80 will be used as <keep alive>, but it should do any difference. https://espressif-docs.readthedocs-hosted.com/projects/esp-at/en/release-v2.2.0.0_esp8266/AT_Command_Set/TCP-IP_AT_Commands.html#cmd-start Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.