Comments (3)
Probably you have another server running on port 8080 (or some process already listening on that port).
You can update port number to something else in start function (server.py):
def start(server_class=HTTPServer, handler_class=Server, port=8080):
Just replace the 8080 with some other value like 8182 and use it in your API calls:
http://localhost:8182/learnCommand/lampon
from broadlink-http-rest.
I have updated the sources, now you can specify the server listening port in settings.ini.
Just update the value of serverPort
and use it in your api calls/http requests...
from broadlink-http-rest.
thanks@radinsky work perfectly now
from broadlink-http-rest.
Related Issues (20)
- running issues
- Learn command problem HOT 3
- Unable to send commands HOT 4
- Interested in Advanced Features? HOT 2
- Where is the "learned code" saved? HOT 1
- Could you please provide an example of how to make a simple Macro Command? HOT 2
- 'module' object has no attribute 'SIGUSR1' HOT 2
- On/Off commands not sent HOT 5
- consecutive commands issue HOT 14
- RF does not receive and send HOT 18
- Duraflame?
- RM3 Mini support? HOT 4
- Send TV Channel Number HOT 4
- sendCommand not working after migration HOT 7
- AttributeError: rm instance has no attribute 'key' HOT 2
- SyntaxError: JSON.parse: unexpected character at line 1 column 1 after a new learn HOT 5
- Copy an paste commands differnt devices HOT 3
- Sky Q Black HOT 2
- Is this offical? HOT 1
- NameError: name 'GlobalPassword' is not defined HOT 1
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 broadlink-http-rest.