Current volt master generated project listens on localhost instead of broadcast - voltrb

New project made with volt new with volt from master:
can't connect to the server from the host os (running volt in a VM)
it says:
Listening on localhost:3000,
but a new project in 0.9.6 says:
Listening on 0.0.0.0:3000,
I think it's related to thin server, I didn't look through latest commits though

I think that at some point thin changed its default options. Try running with -b 0.0.0.0

Related

server stop systematically when I upload my model

Could somebody help me !
I see no particular place in all the documentation for that.
When I upload my model....my server disconnect systematically.
My WebPage shows in the console : an error 504
zone.js:2744 GET http://localhost:4201/rest/$catalog/$all 504 (Gateway Timeout)
I try to kill the process with : sh killWakanda.sh Wakanda Server in
the terminal....this was the answer from Xiang in the "stackoverflow question :
Wakanda Server scripted clean shutdown
when restarting wakanda , i receive sometimes this screen
I don't see any documentation to administrate the localhost server and data in one project with wakanda...and angular
The error "Address already in use" indicates your Angular project (web) is still running after you killed Wakanda process.
My answer from last year showed how to shut down Wakanda Server, which listens to port 8080 and 8081, etc.
In Angular projects, the studio also uses webpack dev server for development. It listens to port 4200, 4201, etc.
In versions after 2.0.0, Wakanda Task manager allows you to stop/start Wakanda server and Angular server in studio represented by 'backend' and 'web' project.
To shut down webpack dev servers Manually. You could run this in terminal:
sudo lsof -t -i tcp:4201 | xargs kill -9
Note the port number (4201) might change if you run Angular server multiple times.

Golang websocket server on docker container won't send out message to outside world

I have a golang backend, node frontend. And it worked both on windows and ubuntu without docker. Now I am trying to dockerize everything. I put both backend and frontend in the same docker container. I can establish initial connection but later the backend kept throwing error like this:
I have exposed port 8000 to 8004, the ws port is 8000 and frontend port is 8004. I have tried both --net=host as well as exposing everything as host ip address 192.168.1.4. Non of them worked.
On the browser side, the websocket client always get 101 response like this:
I think it could be a config problem on docker. But I have no lead right now on how to deal with this. The browser tested is Chrome 55 on windows 10. Docker, golang and node are of the latest. The host machine is on Ubuntu 16.10 as well as container os.

Unable to bind locally created project on default ports - moovweb sdk

I am trying to create a new project locally in the moovweb developer dashboard using moovweb windows sdk. But the newly created project fails to start with below error:
listen tcp 0.0.0.0:443: bind: An attempt was made to access a socket in a way
forbidden by its access permissions.
Perhaps there's something already listening on port 443?
and same error for port 80.
Of course, there are other applications running on these two ports. So how do I change the default port that moovweb binds any local project to?
I looked their documentation, but couldn't find any relevant information regarding this (or may b I didn't look hard enough).
I am using moovweb sdk v6.3.10
If you are unable to temporary shutdown the applications that are using ports 80 and 443, then you should start the moovweb server using the -p and -ssl-port settings in order to start your server using a different port.
For more information you can type:
moov help server
into your terminal

Not able to access Neo4j server on CentOS VM on Mac

I have a Mac running a CentOS VM. I successfully installed Neo4j and was able to start the server ([API] Remote interface ready and available at [http://0.0.0.0:5000/]).
I also uncommented the line org.neo4j.server.webserver.address=0.0.0.0 in the neo4j-server.properties file. I changed the webserver port from 7474 to 5000 (org.neo4j.server.webserver.port=5000) since I know for sure that the port works - as I run Flask web-apps on CentOS and view the UI on Mac by putting http://<vm-ip-address>:5000/on Chrome (I made sure the Flask process is stopped and no one is using that port). But this is not working for the Neo4j local server as I keep getting This webpage is not available for both 7474 and 5000. Am I missing something ?

ajax php example not working on local web server mac

I am trying to learn ajax on my mac apache server using the example code in http://www.w3schools.com/php/php_ajax_php.asp . But it is not working on my local server as desired( I am using CODA 2 in mac 10.8). I have no idea what is going wrong. Can someone help me with this.
It may be a port issue. I run MAMP (which I just switched to from WAMPP, and I love it). By default it runs Apache via port 8888 and MYSQL via port 8889. I had to switch this to ports 80 and 3306, respectively, to get everything working properly.
But if you can run any more basic php calls, I'd rule out this suggestion.

Resources