I'm trying to setup samba. I did everything according to the book. When I type in, in the web browser: localhost:901 the error is "connection is refused"????:cry:

Recommended Answers

All 6 Replies

Are you sure you have the rights to connect to that port on your system?
Check with netstat if it is open/listening :)

Reffer to the tut section.

More specifically, [thread]1741[/thread]

Member Avatar for TKSS

Also, if you have a firewall such as shorewall installed by default (I'm not sure what comes with redhat) then it may have ports closed that would normally be open. You'll have to check out if you have a firewall program/script running and if so, where you can edit it.

do:

ps wax | grep swat

and see if swat is running. Some distros install swat with samba, others don't. You also have to edit /etc/services to enable swat, or add the entry if it doesn't exist. Read the manpage for swat and it will show you an example of this, or refer to Dani's tutorial (I think she has it in there...)

If swat isn't running, then port 901 won't be listening, which will give you the error you received.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.