How to Connect Nakama Client (on unity) to a linux VM instance - unity3d

i’ve created an instance that runs on a linux virtual matchine
i’ve also installed cockroachdb and nakama on that vm and started the node and nakama server there
i’m using oracle cloud infrastructure, i added security list to it to be able to access it through internet and now when try access it through the internet it shos me my server like this :
and now i dont know to to connect to this ???
i have the client in using and it doesn’t connect to it
and when i run it, it shows me this error
i also added the nakama port 7350, and the dashboard 7351 to the security list to have access to them through oci cloud and now the dashboard looks like this
where is the issue and how should i fix it ??

If you are using platform images, both Linux and Windows come with the OS firewall activated and allow very few services.
Open the ports on the OS firewall and try again.

Related

How to access my desktop MongoDB from EC2 Linux?

I have MongoDB installed on my desktop, using which I have developed a web application. I want to now deploy this webapp on an EC2 linux instance and test it. I don't want to setup another mongoDB on the EC2 separately, rather use the one on my desktop. I understand that it is not that simple to put my ip and mongo port and just connect.
I have added port-forwarding settings on my router like this -
Also I have opened my firewall for this port by adding an inbound rule.
Yet I'm not able to connect. What am I missing here?
Thanks in advance

Possible reasons why my shadowsocks not working on virmach's server?

I'm a new comer to using the overseas server. Recently I bought a vps from virmach in order to see foreign websites like google and wiki.
I've been trying for a long time configuring my shadowsocks on my server.
However, when I was using shadowsocks-qt5 to connect my server, it was timeout.
And of course I can't access google correctly.
What I want to ask is the reason why I failed.
Here are things that I do remember to do:
stop the firewall on both computers;
build the .json file which I referred to blogs in China.
Here are the outline of my shadowsocks.json on my server:
{
"server":"0.0.0.0",
"server_port":8388,
"local_address":"127.0.0.1",
"local_port":1080,
"password":"XXXX",
"timeout":600,
"method":"aes-256-cfb"
}
Other useful(maybe) information:
my client OS version: Ubuntu 18.04.3 LTS
my server OS version: Ubuntu 16.04.6 LTS
the client I choose is from: https://github.com/shadowsocks/shadowsocks-qt5
I could not help but wandered, are there any other possible reasons I've forgot? Can anyone inform me some helpful details to solve this puzzling problems? Thanks a lot!
I have not set up my own VPS but I have instead subscribed to the server provided by caonima.io, so I can't speak for any server related issues. Additionally, I have no affiliation with caonima.io. I did however successfully set up my client on Ubuntu 16.04 after having some issues connecting to GFW-blocked (China's Great FireWall) websites.
From what I understand from my solution, the client configuration is NOT the only step of setup. There are two layers of proxy access that need to be completed:
Client Configuration. Configure your client with the server and connection information. A successful connection looked like this for me with my command line interface
shadowsocks-libev command line client successful connection
System or Browser Proxy Configuration. You will need to configure either your browser or web access tool to use a proxy, or set system-wide proxy settings. To set system wide proxy settings, go to system settings > network > network proxy and enter the proxy information. Setting Socks host to localhost:1080 resulted in successful GFW-blocked website access (as shown below)!
Ubuntu network settings proxy manual configuration

Can't get CONNACK + KAASYNC message

I have configured the Kaa Server on Ubuntu 14.04. I have chosen MongoDB as log appender. When i execute my SDK on the same ubuntu machine the data gets inserted into the Mongo Database. But when i try to execute the SDk on Intel Edison board it gives me Can't get CONNACK+KAASYNC message. I have followed all the rules for installing the Kaa Server.
the logs links are
https://drive.google.com/open?id=0Bx5TGFxgyDWbSkZUVVUzbkhqSTA
https://drive.google.com/open?id=0Bx5TGFxgyDWbalNBZkZBMmRtajQ
Have you opened up the ports used by Kaa. If not Check "Firewall rules configuration" in this installation guide "http://docs.kaaproject.org/display/KAA/Installation+guide"
I think earlier, your app sdk and the kaa server must be on the same machine and hence you faced no issue. Now since intel edison needs to communicate with your kaa host as an external device, you need to configure your kaa host admin and also your log appenders with the external IP address of your kaa host. Pls refer to a similar issue mentioned in this question
It looks like you need to re-configure the Kaa instance for the correct 'Kaa host' setting, then regenerate the Kaa SDK and rebuild your application for Intel Edison board with that new SDK.
The 'Kaa host' should match the IP address of the host the kaa-node
instance is running on and be accessible from the application side by that
IP address. This configuration must be done before the SDK for the
application is generated as the bootstrap IP addresses are embedded into
the SDK.
Please check your node network configuration and re-generate the SDK for
the application.

Google Cloud SQL VM refusing connection

I have been stuck trying to figure out why my Cloud SQL VM is refusing my connection from my machine (whom ip address I have added as a subnet). I cann SSH into the VM but i cannot access the VM from a browser to make SQLs. I have scoured the internet for days trying to find a fix but i cannot seem to get pass this point. My apache listens to port 80. Also Id like to add that I have been connecting to my Mysql db for months through php and making sqls so I do not believe the problem is with apache. However if it is please point me to where i should be looking.
It sounds like you have MySQL running on a GCE VM, not an actual CloudSQL instance (that is a different service from GCE). Is that right?
If so, then if you are trying to connect from your local machine directly to the mysql instance, you are probably getting blocked by the firewall. Go to the networks tab (under Compute Engine) on the cloud console and see what firewall rules you have enabled. You might need to add one for 3306 or whatever port you are using.

VM from Google Cloud SQL rejecting connection

I have set up a google cloud sql server using the tutorial on youtube. However, Whenever I try to connect to it through the browser, the connect to it through the browser, the error i am getting is ERR_CONNECTION_REFUSED . The firewalls I have set up correlate to whats in the browser. I can also SSH into the VM. But the VM always rejects my connection. I have been trying for days.
Here are my VM Settings allowing http connections
Here is my VM External IP Address
Here is what the browser tells me when i attempt to connect.
Are you referring to this video https://www.youtube.com/watch?v=_kQXgjIfLgo?
In that video there are some steps missing such as install the web server (e.g. Apache) and PHP in the VM. After you install them, you can execute the following command in the VM:
php /var/www/index.php
If it works you can see the source code of the resulting page and if not you'll have an error to solve (maybe a package to install like php-mysql).
Once you can see the resulting page in the VM you can try to load the page through the browser of your machine. If it still doesn't work there is an Apache or network misconfiguration.