Ask Your Question
1

ubuntu server port 9090

asked 2015-12-02 04:35:36 -0500

openstack_single_node_saas gravatar image

Hi Everyone,

I have an Ubuntu Server 12.04.03 server on top of Openstack MY ssh server is running fine. X11 forwarding is enabled. firewall is disabled I am trying to connect to port 9090 of Ubuntu server instance through a java socket programming application. This application is running on a workstation in the same wireless network. However, this application gives the message "Connection refused: connect"

I did the following on the Ubuntu server instance: netstat -an | grep "LISTEN" but it does not show port 9090 in the output Someone link on the Internet suggested the following: iptables -A INPUT -p tcp --dport 9090 -j ACCEPT Since I am not very familiar with Linux networking commands, I am not sure if this will solve the problem or further complicate matters

Please help me resolve the problem.

Thanks in advance.

Hamid Sultan

edit retag flag offensive close merge delete

Comments

First of all check the port 9090 is listen in your instance

netstat -ntlp | grep 9090

If its listening, add a custom security tule to accept the incoming traffic in your security group rules

Bipin gravatar imageBipin ( 2015-12-02 22:07:05 -0500 )edit

Hi Bipin,

Thank you so much for your message.

My security group rules allow incoming traffic.

I tried the above netstat command. But it does not give any output..

Please tell me how to make port 9090 listen.

I will greatly appreciate your help.

Thanks

Hamid Sultan

openstack_single_node_saas gravatar imageopenstack_single_node_saas ( 2015-12-03 07:24:51 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-12-02 16:59:57 -0500

smaffulli gravatar image

Check the security group in your VM http://docs.openstack.org/user-guide/...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-02 04:35:36 -0500

Seen: 430 times

Last updated: Dec 02 '15