How to open port

How do I open port 8100? I am able to telnet localhost 8100 I can connect; but when I go to a client and telnet server_ip 8100 I get Connection refused.
I can connect telnet server_ip 3306.
Any ideas?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

sudo /sbin/yast firewall

Allow it (presumably TCP since you’re testing with something like telnet,
which should be replaced immediately with netcat) in the list of Allowed
Services (under Advanced most-likely).

Good luck.

On 11/16/2010 08:36 PM, sczlittle wrote:
>
> How do I open port 8100? I am able to telnet localhost 8100 I can
> connect; but when I go to a client and telnet server_ip 8100 I get
> Connection refused.
> I can connect telnet server_ip 3306.
> Any ideas?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM41XHAAoJEF+XTK08PnB5cVsP+wet83ohBOdXkeXhmTaYo7Bc
K4i5teu+ZsuCAQ6uOQtqq3jFDpeO1eApXX+hyxQeGe1NNmP+WweRdHVFWa5WRjfe
tzfGJR+f6CIIAKe/o2qPFmAP/M8r/6TZdGqKSid8I3lUOff8M4h8MIbdADhWv1wY
cFzUmGzJi4xPsSeN+yInL0pZhFyVX4GifKvwEsIP/yEJrnPB9YuhqIqXHnKbdJsn
jh9ZlW+sBwSnI+1CyYsWq1iRla+NsWD+Q0OmTucermFsCtF73HpEKHJxcQN/NNbF
24AoDQWLJnYAzjasSAtyeeMdufb9tPZWDjmHa7lcfUi7APk0y3WqMqYmuu5tf52O
eDgAlhMeCBu06mMFVHw/5R7Aib8SczaSrJ1LrYA8raoKm0fiWdApatJiUo0lxzcH
qBHT6vH5OiOymElyfI8y6tDivb64uJXPNOWF4hkGsyIwhEf6SGXnM4tWt3BOkQFV
ABkCMv2TTkao0b1/dRXpfgUVD6kxu0qsU5A4h9TpTDmoeIUdDyiWmA3o8Wq61wHj
0BztY7vVkVZAjrYJpFjgFx8F7mdO2pAmkBKtQyetWyjZREv2VEWLdqwVEKqU9z+O
cM0RfW6sgTZHDdd05/WiK8D/ETrUsdm+xCnTn7DXay3NuBk3/CYmmxDZZGH3ivPt
pjsnbAm290O3uHCGCl01
=Sq4g
-----END PGP SIGNATURE-----

On Tue November 16 2010 09:36 pm, sczlittle wrote:

>
> How do I open port 8100? I am able to telnet localhost 8100 I can
> connect; but when I go to a client and telnet server_ip 8100 I get
> Connection refused.
> I can connect telnet server_ip 3306.
> Any ideas?
>
>
sczlittle;

Look at YaST->Security and Users -> Firewall -> Allowed Services. Choose the
advanced tab and enter the TCP/UDP port to open. I use the ncurses form of
YaST so there may be some slight difference with the GUI, but in any event it
will be under Allowed Services.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Thanks guys.
All my firewalls are off.
I just found the problem.
The script wasn’t allowing any outside ip in.
$ SOFFICE_PATH-headless-nologo-nofirststartwizard-accept = “socket, host = 127.0.0.1, port = 8100; urp”
TO
$ SOFFICE_PATH-headless-nologo-nofirststartwizard-accept = “socket, host = 0, port = 8100; urp”
This does leave it open to any IP.

But it is working.

This is where netstat or lsof would have been useful. You can see what ports are open on which addresses and by what process. You would have seen something like:

127.0.0.1:8100 … soffice

or similar.

You are right. The server showed that it was working but I was unable to connect from any computers on my network. Took me all day to find the change the 127.0.0.1 to 0. And it was an old article that applied to openofice 2.4.

Put host=server_ip (server_ip being your the ip of the server)

Also a telnet to the address and port would have shown you if it was a firewall problem. No service listening elicits a connection refused message immediately, but a firewall DROP just hangs telnet.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

<pedantic>
(depending on the Firewall rules with regard to how “blocked” ports are
handled, but that’s SUSE’s default for blocked ports, yeah).
</pedantic>

Good luck.

On 11/17/2010 07:36 AM, ken yap wrote:
>
> Also a telnet to the address and port would have shown you if it was a
> firewall problem. No service listening elicits a connection refused
> message immediately, but a firewall DROP just hangs telnet.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM5AmZAAoJEF+XTK08PnB5B+EQAISOgIIiq1TdJ7gP5hhpv0uF
GaEc4irhMLdvx4nA2CJZ/97W9SQFoEPYHUPjU8+eM2xRSf14FGIB6cSmWscTcUTr
kg5/wRc7YVaIXwr25xnfcWiqBihXgt0rYODYY8IBqkuNALAOJpeZaG+D6WbaJ8Z7
GOPZasp8C+rKOkxg0D9lFJrkgXJoqO9odF3klVrRhibGfFKlxCGWr5a2YZZ2zF7Y
Ry50/NiRxvsscQ/sA+XRg478DtLTlQNJv/PCWGWDRzspJFsRvq9c1gVFx2OT5IR+
ArhRVQQMqW0cFw1bS6PnCfPQMZkbcONkGdUOmrt6QH8U7xt+n/j3C3fH7F6kIHYd
sHCG1RglccxnohqOB/IQHEz7DueQRvno9t2voW8mT6N8xAgBJcPQlNcjlqq/t4TH
f11UCZiZvRL682YbIdBXdR+a3l/HFcv7RccfQ0sceUxruL2Rt9lyoOVPDraos0LF
nqLmmm5+BKNFjUKQ8nUgHpvu2LL+MwZ6jQpxn7M4/f0nH48x+RbFE78P/H72iweI
FEfEShs/fw8Y6iMFHab+14obkzQcaJjDXEGdoTy9e29NuobSS00jUx8KUYUAWpkL
2R8U8GKJW4ZazRx8ockWO4BL2jTwNxUtAKpLJ5FnobIE30Q/9E2mtLljSWID/f0y
2tMmND7HKQaxCfaKQQXb
=KaVi
-----END PGP SIGNATURE-----