Cannot connect to my server on AWS EC2(Windows) - amazon-ec2

I made simple server and It's running as
./myserver.exe IP=0.0.0.0 PORT=4600
Of course 4600 inbound for public IP is already opened but I can't connect from outside.
I can connect to 3389 for RDP connection but cannot to 4600.
Did I miss something? Should I do something more?
any help will be appreciated. Thank you.

Windows Firewall wasn't opened.

Related

SSH and VPN split tunneling Windows 2012 server

I hope someone can point me in the right direction.
I have a Windows Server 2012R2 running Bitvise SSH server, for the sake of simplicity it has only one ethernet card. SSH listens to 192.168.1.115 port 22.
When the server is connected to the internet with VPN (NordVPN client > I cannot edit config) the SSH connection is no longer working. I believe this is very normal as the VPN changes the gateway and routes all, including SSH, packages through it.
I was hoping it is possible to simply edit the routing table or similar so that all SSH packages on 192.168.1.115 port 22 are routed to the original gateway (the gateway before VPN is connected so to speak) and that all other are routed via the VPN gateway.
Alas, I have no idea how to start with this split tunneling. Maybe there are tools or other solution for this? I have search high and low but did not find an easy answer.
Looking really forward to your expertise. Thank you.
With best regards,
ShadowHunter

Rabbitmq expose to the world

I want to know if is there a way to make my rabbitmq public, so that i can interact with him in remote computers.
In localhost, the rabbitmq is open in port 15672, but not 5672.
I've open port 15672 in firewall, and try to interact it with my public id, but it failed.
Is there a way to make my rabbitmq public for remote computers?
Maybe there's a problem with port 5672 that i need to fix?
guidance will be great.
I'm using windows 7 64-bit.
Thank you.

cannot connect to azure machine using remote desktop

i create a win2012r2 datacenter vm on azure. i'm trying to connect via RDC but rdc cannot connect. i use the rdp file that azure provide, and also tryied to do it by myself manually in rdc (dns:port and also ip:port) but still i can't connect. how to check where the problem is?
Thanks
Are you in a Crop. network? I means did you check the firewall settings on your side? And kindly reminder, the default RDC port is NOT 3389.

Changing EC2 Cassandra instance's remote access port?

I set up Cassandra on EC2 according to this: http://www.datastax.com/docs/datastax_enterprise2.2/install/install_dse_ami
All is well, and it's all up and running, including OpsCenter. For the time being, I have a completely open (0.0.0.0/0) security policy. I'll fiddle with that once I can finally connect remotely.
The problem, I'm told, is that our corporate firewall blocks almost all ports, save for 22, 80, 8080, and 8888. Thus, when I try to connect to Cassandra locally: e:\cassandra\bin\cassandra-cli -host ec2-X-X-X-X.us-east-1.compute.amazonaws.com -port 9160
I get the error:
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused: connect
Given that I cant open any additional ports in my corporate firewall, what can I do to connect to Cassandra? Can I tell it to allow connections on 8080 instead?
It sounds like you are having trouble connecting from your machine to the Cassandra machine due to the corporate firewall. There are a couple of solutions
Connect to machine via ssh first
You could connect to the EC2 machine and connect from there.
Change the thrift port
You certainly could change the thrift port in the cassandra.yaml file, but make sure you change it in the opscenterd.conf also. Realize that if something else is running on 8080, then this probably will not work.
You could also look into using the DataStax DevCenter too, which would help keep things behind the firewall. This is in alpha, but it may help your situation.

Couchbase server refusing network connections - any ideas what might be the issue?

I downloaded the community edition of couchbase server, and am running it on a mac system.
It's up and running according to the console:
However, when I try to test it:
$ telnet localhost 8091
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
I've told the firewall app to allow the "Couchbase Server.app" application to accept incoming network connections, and doesn't seem to have helped.
Any ideas what might be the issue here?
Yes, telnet into Couchbase should be through 11211... http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-getting-started-testing.html
Did you try to connect to it through any of the SDK's (C/Ruby/Java/.NET/PHP/Python/Perl)? If you ever need immediate help, you can also go to IRC (freenode.net), in the #libcouchbase or #couchbase channels, or post another question here of course.
I was connecting to the server on the wrong port. To see the port to use when accessing the server, open up the relevant data bucket, and check what port it's running on. By default, it will most likely be accessible on 11211

Resources